Holger's
Java API

com.antelmann.game
Class TemplatePlayer.Synchronizer

java.lang.Object
  extended by com.antelmann.game.TemplatePlayer.Synchronizer
Enclosing class:
TemplatePlayer

protected class TemplatePlayer.Synchronizer
extends Object

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

Since:
3/26/2002
Author:
Holger Antelmann
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()


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads