com.antelmann.game
Class TemplatePlayer.MoveEvaluater
java.lang.Object
com.antelmann.game.TemplatePlayer.MoveEvaluater
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- TemplatePlayer
protected class TemplatePlayer.MoveEvaluater
- extends Object
- implements Runnable
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.
- Since:
- 3/26/2002
- Author:
- Holger Antelmann
- See Also:
TemplatePlayer.selectMove(GamePlay, int[], int, long),
TemplatePlayer.Synchronizer
|
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 |
TemplatePlayer.MoveEvaluater
public TemplatePlayer.MoveEvaluater(TemplatePlayer.Synchronizer synch,
GamePlay game,
GameMove move,
int[] role,
int level,
long milliseconds,
Monitor monitor)
run
public void run()
- reports the heuristic (calculated by the evaluate() method) to the Synchronizer
- Specified by:
run in interface Runnable
- See Also:
TemplatePlayer.evaluate(GamePlay, GameMove, int[], int, long, Monitor),
TemplatePlayer.Synchronizer
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads