Packagecom.lookbackon.AI.evaluation.linear
Classpublic class LinearEvaluation
InheritanceLinearEvaluation Inheritance Object
Implements IEvaluation

LinearEvaluation.as class.



Public Methods
 MethodDefined By
  
LinearEvaluation
  
doEvaluation(conductVO:ConductVO, gamePosition:PositionVO):int
KQRBNP = number of kings, queens, rooks, bishops, knights and pawns; D,S,I = doubled, blocked and isolated pawns; M = Mobility (the number of legal moves);
LinearEvaluation
Constructor Detail
LinearEvaluation()Constructor
public function LinearEvaluation()



Method Detail
doEvaluation()method
public function doEvaluation(conductVO:ConductVO, gamePosition:PositionVO):int

KQRBNP = number of kings, queens, rooks, bishops, knights and pawns; D,S,I = doubled, blocked and isolated pawns; M = Mobility (the number of legal moves);

Parameters

conductVO:ConductVO — The conductVO which obtained position information.
 
gamePosition:PositionVO — The game position which obtained board position information.

Returns
int — Red should try to maximize T as large as possible, while the Blue should try to minimize T as small as possible.

See also