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

Package | com.lookbackon.AI.searching
Interface | public interface ISearching
Implementors | SearchingBase

The basic chess game AI behaviors to be implemented.

Public Properties

| Property | Defined By
--- | --- | ---
|  | captures : Vector.<ConductVO> [read-only] | ISearching
|  | evaluation : IEvaluation | ISearching
|  | moves : Vector.<ConductVO> [read-only] | ISearching
|  | orderingMoves : Vector.<ConductVO> | ISearching

Public Methods

| Method | Defined By
--- | --- | ---
|  | applyMove(conductVO:ConductVO):void | ISearching
|  | generateMoves(blues:Vector.<ChessPiece>):Vector.<ConductVO> | ISearching
|  | makeMove(conductVO:ConductVO):void | ISearching
|  | noneMove():int | ISearching
|  | unmakeMove(conductVO:ConductVO):void | ISearching
|  | willNoneMove(gamePosition:PositionVO):Boolean | ISearching

Property Detail

captures | property

`captures:Vector.<ConductVO>` [read-only]

Implementation
`public function get captures():Vector.<ConductVO>`

evaluation | property |

`evaluation:IEvaluation`

Implementation
`public function get evaluation():IEvaluation`
`public function set evaluation(value:IEvaluation):void`

moves | property |

`moves:Vector.<ConductVO>` [read-only]

Implementation
`public function get moves():Vector.<ConductVO>`

orderingMoves | property |

`orderingMoves:Vector.<ConductVO>`

Implementation
`public function get orderingMoves():Vector.<ConductVO>`
`public function set orderingMoves(value:Vector.<ConductVO>):void`
Method Detail

applyMove | () | method

`public function applyMove(conductVO:ConductVO):void`

Parameters

| `conductVO:ConductVO`

generateMoves | () | method |

`public function generateMoves(blues:Vector.<ChessPiece>):Vector.<ConductVO>`

Parameters

| `blues:Vector.<ChessPiece>`

Returns

| `Vector.<ConductVO>`

makeMove | () | method |

`public function makeMove(conductVO:ConductVO):void`

Parameters

| `conductVO:ConductVO`

noneMove | () | method |

`public function noneMove():int`

Returns

| `int`

unmakeMove | () | method |

`public function unmakeMove(conductVO:ConductVO):void`

Parameters

| `conductVO:ConductVO`

willNoneMove | () | method |

`public function willNoneMove(gamePosition:PositionVO):Boolean`

Parameters

| `gamePosition:PositionVO`

Returns

| `Boolean`

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