示例#1
0
 public PlanSpaceNode(PlanSpaceNode parent, PlanSpaceEdge incoming)
 {
     this.parent   = parent;
     this.incoming = incoming;
     outgoing      = new List <PlanSpaceEdge>();
     children      = new Hashtable();
     plan          = new Plan();
     problem       = new Problem();
     id            = System.Threading.Interlocked.Increment(ref Counter);
 }
示例#2
0
 public PlanSpaceNode()
 {
     parent   = null;
     incoming = null;
     outgoing = new List <PlanSpaceEdge>();
     children = new Hashtable();
     plan     = new Plan();
     problem  = new Problem();
     id       = System.Threading.Interlocked.Increment(ref Counter);
 }