Example #1
0
 /**
  * Constructor for the nodes: This class holds an String representing
  * an object if the noNode and yesNode are null and a question if the
  * yesNode and noNode point to a BTNode.
  */
 public BTNode(string nodeMessage)
 {
     message = nodeMessage;
     noNode  = null;
     yesNode = null;
 }
Example #2
0
 public void setNoNode(BTNode node)
 {
     noNode = node;
 }
Example #3
0
 public void setYesNode(BTNode node)
 {
     yesNode = node;
 }
Example #4
0
 public Maximum(bool exists, BTNode node)
 {
     Exists = exists;
     Node   = node;
 }