/// <summary>Constructor. </summary>
 /// <param name="parentNode">is the parent evaluator to call to indicate truth value</param>
 /// <param name="evalFollowedByNode">is the factory node associated to the state</param>
 public EvalFollowedByWithMaxStateNodeManaged(Evaluator parentNode, EvalFollowedByNode evalFollowedByNode)
     : base(parentNode)
 {
     EvalFollowedByNode = evalFollowedByNode;
     Nodes = new Dictionary <EvalStateNode, int>();
     CountActivePerChild = evalFollowedByNode.IsTrackWithMax ? new int[evalFollowedByNode.ChildNodes.Length - 1] : null;
 }
示例#2
0
 /// <summary>Constructor. </summary>
 /// <param name="parentNode">is the parent evaluator to call to indicate truth value</param>
 /// <param name="evalFollowedByNode">is the factory node associated to the state</param>
 public EvalFollowedByStateNode(Evaluator parentNode, EvalFollowedByNode evalFollowedByNode)
     : base(parentNode)
 {
     EvalFollowedByNode = evalFollowedByNode;
     Nodes = new Dictionary <EvalStateNode, int>();
 }