Exemplo n.º 1
0
 /// <summary>Constructor. </summary>
 /// <param name="parentNode">is the parent evaluator to call to indicate truth value</param>
 /// <param name="evalOrNode">is the factory node associated to the state</param>
 public EvalOrStateNode(Evaluator parentNode, EvalOrNode evalOrNode)
     : base(parentNode)
 {
     ChildNodes = new EvalStateNode[evalOrNode.ChildNodes.Length];
     EvalOrNode = evalOrNode;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="parentNode">is the parent evaluator to call to indicate truth value</param>
 /// <param name="evalOrNode">is the factory node associated to the state</param>
 public EvalOrStateNode(Evaluator parentNode, EvalOrNode evalOrNode)
     :  base(parentNode)
 {
     _childNodes = new EvalStateNode[evalOrNode.ChildNodes.Count];
     _evalOrNode = evalOrNode;
 }