|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by search algorithm used by SearcherPlayer
Method Summary | |
int |
getAverageBranchingFactor()
Average branching factor |
float |
getBestMoveUtility()
|
Heuristic |
getHeuristic()
|
GameState |
getInitialState()
|
int |
getMaxDepth()
|
int |
getNumberOfExploredNodes()
Number of min nodes + number of max nodes explored |
Move |
search()
Evaluate the best move to do |
void |
setHeuristic(Heuristic heuristic)
The heuristic function to evaluate the utility of non terminal nodes |
void |
setInitialState(GameState initialState)
The initial state of the game |
Method Detail |
public GameState getInitialState()
public void setInitialState(GameState initialState)
initialState
- public Move search()
public float getBestMoveUtility()
public int getNumberOfExploredNodes()
public int getAverageBranchingFactor()
public int getMaxDepth()
public Heuristic getHeuristic()
public void setHeuristic(Heuristic heuristic)
heuristic
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |