|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.computing.game.TemplatePlayer.MoveEvaluater
protected class TemplatePlayer.MoveEvaluater
MoveEvaluater is used by the method selectMove() from the enclosing TemplatePLayer class in case of a time-limited search to allow each move to be examined efficiently in a separate thread.
TemplatePlayer.selectMove(GamePlay,int[],int,long),
TemplatePlayer.Synchronizer| Constructor Summary | |
|---|---|
TemplatePlayer.MoveEvaluater(TemplatePlayer.Synchronizer synch,
GamePlay game,
GameMove move,
int[] role,
int level,
long milliseconds,
Monitor monitor)
|
|
| Method Summary | |
|---|---|
void |
run()
reports the heuristic (calculated by the evaluate() method) to the Synchronizer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplatePlayer.MoveEvaluater(TemplatePlayer.Synchronizer synch,
GamePlay game,
GameMove move,
int[] role,
int level,
long milliseconds,
Monitor monitor)
| Method Detail |
|---|
public void run()
run in interface java.lang.RunnableTemplatePlayer.evaluate(GamePlay,GameMove,int[],int,long,Monitor),
TemplatePlayer.Synchronizer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||