Packagecom.godpaper.as3.model
Classpublic class OpeningBookModel
InheritanceOpeningBookModel Inheritance Object

See also

http://www.fierz.ch/strategy4.htm
http://chess.uoknor.edu
and games: Second International Conference, CG 2000, Hamamatsu ...By T. Anthony Marsland, Ian Frank
2004CCC.pdf


Public Properties
 PropertyDefined By
  expansion : Graph
[read-only] When an opening book is created,it contains only the start node. Expansion is done with three steps. 1.Choose a leaf node and add all successors to the book. 2.Calculate the values of the new successors. 3.Propagate the values.
OpeningBookModel
  interiorNode : GraphNode
OpeningBookModel
  leafNode : GraphNode
OpeningBookModel
  startNode : GraphNode
OpeningBookModel
Public Methods
 MethodDefined By
  
OpeningBookModel(access:Private)
OpeningBookModel
  
[static]
OpeningBookModel
Property Detail
expansionproperty
expansion:Graph  [read-only]

When an opening book is created,it contains only the start node. Expansion is done with three steps. 1.Choose a leaf node and add all successors to the book. 2.Calculate the values of the new successors. 3.Propagate the values.


Implementation
    public function get expansion():Graph
interiorNodeproperty 
interiorNode:GraphNode


Implementation
    public function get interiorNode():GraphNode
    public function set interiorNode(value:GraphNode):void
leafNodeproperty 
leafNode:GraphNode


Implementation
    public function get leafNode():GraphNode
    public function set leafNode(value:GraphNode):void
startNodeproperty 
startNode:GraphNode


Implementation
    public function get startNode():GraphNode
    public function set startNode(value:GraphNode):void
Constructor Detail
OpeningBookModel()Constructor
public function OpeningBookModel(access:Private)



Parameters
access:Private
Method Detail
getInstance()method
public static function getInstance():OpeningBookModel

Returns
OpeningBookModel — the singleton instance of OpeningBookModel