Packagecom.godpaper.as3.model.vos
Classpublic class ZobristKeyVO
InheritanceZobristKeyVO Inheritance Object

The zobrist key value object obtain the keys(color,type,position). Zobrist hashing is a technique to transform a board position of arbitrary size into a number of a set length, with an equal distribution over all possible numbers, invented by Albert Zobrist.

See also

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


Public Properties
 PropertyDefined By
  color : Array2
ZobristKeyVO
  position : Array2
ZobristKeyVO
  type : Array2
ZobristKeyVO
Public Methods
 MethodDefined By
  
ZobristKeyVO
  
dump():String
Prints out all elements (for debug/demo purposes).
ZobristKeyVO
Property Detail
colorproperty
public var color:Array2

positionproperty 
public var position:Array2

typeproperty 
public var type:Array2

Constructor Detail
ZobristKeyVO()Constructor
public function ZobristKeyVO()



Method Detail
dump()method
public function dump():String

Prints out all elements (for debug/demo purposes).

Returns
String — A human-readable representation of the structure.