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

Package | com.godpaper.as3.model.vos
Class | public class OmenVO
Inheritance | OmenVO 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

| Property | Defined By
--- | --- | ---
|  | adjustment : int = 0 | OmenVO
|  | flexibility : int = 0 | OmenVO
|  | important : Array2 | OmenVO
|  | strength : int = 0 | OmenVO
|  | threat : int = 0 | OmenVO

Public Methods

| Method | Defined 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

adjustment | property

`public var adjustment:int = 0`

flexibility | property |

`public var flexibility:int = 0`

important | property |

`public var important:Array2`

strength | property |

`public var strength:int = 0`

threat | property |

`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.

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