Exemplo n.º 1
0
 /// <summary>Constructor. </summary>
 /// <param name="parentNode">is the parent evaluator to call to indicate truth value</param>
 /// <param name="evalAndNode">is the factory node associated to the state</param>
 public EvalAndStateNode(Evaluator parentNode, EvalAndNode evalAndNode)
     : base(parentNode)
 {
     EvalAndNode      = evalAndNode;
     ActiveChildNodes = new EvalStateNode[evalAndNode.ChildNodes.Length];
     EventsPerChild   = new Object[evalAndNode.ChildNodes.Length];
 }
Exemplo n.º 2
0
 /// <summary>Constructor. </summary>
 /// <param name="parentNode">is the parent evaluator to call to indicate truth value</param>
 /// <param name="evalAndNode">is the factory node associated to the state</param>
 public EvalAndStateNode(Evaluator parentNode, EvalAndNode evalAndNode)
     : base(parentNode)
 {
     _evalAndNode      = evalAndNode;
     _activeChildNodes = new EvalStateNode[evalAndNode.ChildNodes.Count];
     _eventsPerChild   = new Object[evalAndNode.ChildNodes.Count];
 }