|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.computing.game.TemplatePlayer.Synchronizer
protected class TemplatePlayer.Synchronizer
Synchronizer is used consolidate the MoveEvaluater threads spanned off by the selectMove() method from the enclosing TemplatePlayer.
TemplatePlayer.MoveEvaluater,
TemplatePlayer.selectMove(GamePlay,int[],int,long)| Constructor Summary | |
|---|---|
TemplatePlayer.Synchronizer(int numberOfMoves)
|
|
| Method Summary | |
|---|---|
protected GameMove |
getBestMove()
|
protected void |
report(GameMove move,
double heuristic)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplatePlayer.Synchronizer(int numberOfMoves)
| Method Detail |
|---|
protected void report(GameMove move,
double heuristic)
protected GameMove getBestMove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||