public interface GameTreeSearcher
| Modifier and Type | Method and Description |
|---|---|
double |
eval(GameNode node)
eval - Returns the estimated minimax value of
the given node. |
int |
getBestMove()
getBestMove - Returns the best move for the
node most recently evaluated. |
int |
getNodeCount()
getNodeCount - Returns the number of nodes
searched for the previous node evaluation |
double eval(GameNode node)
eval - Returns the estimated minimax value of
the given node.node - a GameNode valuedouble value - estimated minimax
value of nodeint getBestMove()
getBestMove - Returns the best move for the
node most recently evaluated.int value encoding the moveint getNodeCount()
getNodeCount - Returns the number of nodes
searched for the previous node evaluationint value - number of nodes
searched