Package ubc.team09.eval
package ubc.team09.eval
Static Game State Evaluation
This package is where static evaluation functions are implemented.HeuristicMethoddefines the general interface of a heuristic method for evaluating a board state.KMinDistis a heuristic method which partitions territory based on the number of king moves it would take for queen to get to a given square.QMinDistis a heuristic method identical toKMinDist, except that it evaluates territories based on queen moves instead of king moves.Xis a heuristic method that is a little more involved thanQMinDistandKMinDist, however we have found it unremarkable.
-
ClassDescriptionThis defines the interface that describes a heuristic method for evaluating a board state.This evaluation is identical to
QMinDist, except that this one claims territory for each color if they would need fewer King moves to reach it, rather than the traditional distance calculation using queen moves.This evaluation is identical toKMinDist, except that this one claims territory for each color if they would need fewer Queen moves to reach it.An implementation of the X term presented in a 2014 paper by Runxing Zhong and Ke Zhou.