org.pesullivan.game.game42
Class Plan

java.lang.Object
  extended by org.pesullivan.game.game42.Plan

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

Plan

public Plan(Board position1)
Method Detail

getTurnMoves

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

setFromJSONString

public void setFromJSONString(java.lang.String strJSON)

toJSONString

public java.lang.String toJSONString()