de.tabacha.cgo.strategy
Class Evaluator

java.lang.Object
  extended byde.tabacha.cgo.strategy.Evaluator

class Evaluator
extends java.lang.Object


Constructor Summary
Evaluator(java.util.Random r, ValueCalculator[] valueCalculators)
           
 
Method Summary
 void evaluate(Board b, Move m, int minRow, int maxRow)
           
protected  void evaluateAtLevel(int i, Board b, Move m, int minRow, int maxRow)
           
 Move getBestMove()
           
 int getBestMoveValue(int i)
           
 void initNewMoveSearch()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Evaluator

public Evaluator(java.util.Random r,
                 ValueCalculator[] valueCalculators)
Method Detail

initNewMoveSearch

public void initNewMoveSearch()

evaluate

public void evaluate(Board b,
                     Move m,
                     int minRow,
                     int maxRow)

evaluateAtLevel

protected void evaluateAtLevel(int i,
                               Board b,
                               Move m,
                               int minRow,
                               int maxRow)

getBestMove

public Move getBestMove()

getBestMoveValue

public int getBestMoveValue(int i)

toString

public java.lang.String toString()