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

Package | com.godpaper.as3.model
Class | public class ZobristKeysModel
Inheritance | ZobristKeysModel Object

A singleton model hold all Chess Board's tag info for Chess HistoryTable/OpeningBook.

See also

http://chessprogramming.wikispaces.com/Zobrist+Hashing

Public Methods

| Method | Defined By
--- | --- | ---
|  | ZobristKeysModel(access:Private) | ZobristKeysModel
|  | getInstance():ZobristKeysModel [static] | ZobristKeysModel
|  | getZobristKey(type:String = board):ZobristKeyVO | ZobristKeysModel

Constructor Detail

ZobristKeysModel | () | Constructor

`public function ZobristKeysModel(access:Private)`

Parameters

| `access:Private`

Method Detail

getInstance | () | method

`public static function getInstance():ZobristKeysModel`

Returns

| `ZobristKeysModel`

getZobristKey | () | method |

`public function getZobristKey(type:String = board):ZobristKeyVO`

Parameters

| `type:String` (default = `board`)``

Returns

| `ZobristKeyVO`

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