org.jscience.computing.game
Class TemplatePlayer.Synchronizer

java.lang.Object
  extended by org.jscience.computing.game.TemplatePlayer.Synchronizer
Enclosing class:
TemplatePlayer

protected class TemplatePlayer.Synchronizer
extends java.lang.Object

Synchronizer is used consolidate the MoveEvaluater threads spanned off by the selectMove() method from the enclosing TemplatePlayer.

Since:
3/26/2002
See Also:
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

TemplatePlayer.Synchronizer

public TemplatePlayer.Synchronizer(int numberOfMoves)
Method Detail

report

protected void report(GameMove move,
                      double heuristic)

getBestMove

protected GameMove getBestMove()