Example #1
0
 public StateSpaceNode(StateSpaceNode parent, StateSpaceEdge incoming, State state)
 {
     this.parent   = parent;
     this.incoming = incoming;
     systemActions = new List <IOperator>();
     this.state    = state;
     outgoing      = new List <StateSpaceEdge>();
     children      = new Hashtable();
     plan          = new Plan();
     problem       = new Problem();
     domain        = new Domain();
     id            = System.Threading.Interlocked.Increment(ref Counter);
     satisfiesGoal = false;
 }
Example #2
0
 public StateSpaceNode()
 {
     parent        = null;
     incoming      = null;
     systemActions = new List <IOperator>();
     state         = new State();
     outgoing      = new List <StateSpaceEdge>();
     children      = new Hashtable();
     plan          = new Plan();
     problem       = new Problem();
     domain        = new Domain();
     id            = System.Threading.Interlocked.Increment(ref Counter);
     satisfiesGoal = false;
 }