Packagecom.godpaper.as3.model.vos
Classpublic class OmenVO
InheritanceOmenVO Inheritance Object

The evaluation of a position in Chinese chess has approximately five elements: (1) the strength of the pieces in play, (2) the important positions, (3) the flexibility of the pieces, (4) the threats between pieces and the protection of pieces from threats, (5) a dynamic adjustment according to the situation (Hsu, 1990). Details of those elements are discussed below.

See also

2004CCJ.pdf


Public Properties
 PropertyDefined By
  adjustment : int = 0
OmenVO
  flexibility : int = 0
OmenVO
  important : Array2
OmenVO
  strength : int = 0
OmenVO
  threat : int = 0
OmenVO
Public Methods
 MethodDefined By
  
OmenVO(strength:int, important:Array2, flexibility:int, threat:int, adjustment:int)
OmenVO
  
dump():String
Prints out all elements (for debug/demo purposes).
OmenVO
Property Detail
adjustmentproperty
public var adjustment:int = 0

flexibilityproperty 
public var flexibility:int = 0

importantproperty 
public var important:Array2

strengthproperty 
public var strength:int = 0

threatproperty 
public var threat:int = 0

Constructor Detail
OmenVO()Constructor
public function OmenVO(strength:int, important:Array2, flexibility:int, threat:int, adjustment:int)



Parameters
strength:int
 
important:Array2
 
flexibility:int
 
threat:int
 
adjustment:int
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.