Class QMinDist
java.lang.Object
ubc.team09.eval.QMinDist
- All Implemented Interfaces:
HeuristicMethod
This evaluation is identical to
See Also
KMinDist, except that this one claims
territory for each color if they would need fewer Queen moves to
reach it. This is the approach used by Martin Müller and Theodore Tegos'
Arrow program.
See Also
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QMinDist
public QMinDist()
-
-
Method Details
-
evaluate
Description copied from interface:HeuristicMethodReturns a number in the range of (-∞, +∞) where lower values indicate a more favorable position for Black, and greater values indicate a more favorable position for White.- Specified by:
evaluatein interfaceHeuristicMethod- Parameters:
state- The board state to evaluate.
-