Class Plan

  extended by

public final class Plan
extends java.lang.Object

Plan holds information on optimal moves to complete a turn. It also maintains game plan information based on a turn's starting Position(1). Plan information consists of a best response(2) and score, all responses(3) to the best response(2), and best responses(4) to those. This information is gathered during a search both for optimal moves and for use in subsequent searches.

Constructor Summary
Plan(Board position1)
Method Summary
 java.util.List<Move> getTurnMoves()
 void setFromJSONString(java.lang.String strJSON)
 java.lang.String toJSONString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Plan(Board position1)
Method Detail


public java.util.List<Move> getTurnMoves()


public void setFromJSONString(java.lang.String strJSON)


public java.lang.String toJSONString()