README for pubeval
This commit is contained in:
parent
b7e7b52e7c
commit
f009809d39
18
pubeval/REAMDE.org
Normal file
18
pubeval/REAMDE.org
Normal file
|
@ -0,0 +1,18 @@
|
|||
#+TITLE: pubeval for Python
|
||||
|
||||
=pubeval= was originally created by Gerald Tesauro <tesauro@watson.ibm.com> for
|
||||
evaluating the performance of backgammon playing algorithms. This Python
|
||||
extension is a port of Tesauro's algorithm.
|
||||
|
||||
* Usage
|
||||
|
||||
The extension is named =pubeval= and can be imported by using =import pubeval=
|
||||
after installation.
|
||||
|
||||
The only method defined by this extension is =pubeval.eval(race, board)=. The
|
||||
arguments to this method matches the arguments required by the original
|
||||
=pubeval= function, i.e. the method takes as arguments a boolean specifying
|
||||
whether the algorithm is in a non-contact "race" situation and a tuple with 28
|
||||
integer entries representing the board in the same format as the original
|
||||
=pubeval.c=.
|
||||
|
Loading…
Reference in New Issue
Block a user