GODPAPER | All Packages | All Classes | Index | Frames No Frames |
LinearEvaluation

Package | com.lookbackon.AI.evaluation.linear
Class | public class LinearEvaluation
Inheritance | LinearEvaluation Object
Implements | IEvaluation

LinearEvaluation.as class.

Public Methods

| Method | Defined By
--- | --- | ---
|  | LinearEvaluation() | 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

http://chessprogramming.wikispaces.com/Evaluation

Thu Jan 16 2014, 01:11 PM +08:00