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

Package | com.lookbackon.AI.evaluation
Interface | public interface IEvaluation
Implementors | FuzzyImportantEvaluation, LinearEvaluation, StaticExchangeEvaluation

An evaluation function is used to heuristically determine the relative value of a position, i.e. the chances of winning. If we could see to the end of the game in every line, the evaluation would only have values of -1 (loss), 0 (draw), and 1 (win). In practice, however, we do not know the exact value of a position, so we must make an approximation. Beginning chess players learn to do this starting with the value of the pieces themselves. Computer evaluation functions also use the value of the material as the most significant aspect and then add other considerations.

Public Methods

| Method | Defined By
--- | --- | ---
|  | doEvaluation(conductVO:ConductVO, gamePosition:PositionVO):int | IEvaluation

Method Detail

doEvaluation | () | method

`public function doEvaluation(conductVO:ConductVO, gamePosition:PositionVO):int`

Parameters

| `conductVO:ConductVO`
| `gamePosition:PositionVO`

Returns

| `int`

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