Пример #1
0
 // Takes in the parent node
 public BNode(BNode p)
 {
     status     = Status.DORMANT;
     actiontype = Astar.Actiontype.NULL;
     parent     = p;
     if (parent != null)
     {
         p.children.Add(this);
     }
 }
Пример #2
0
 public ActionNode(BNode p, Astar.Actiontype t) : base(p)
 {
     actiontype = t;
 }