Esempio n. 1
0
 /// <summary>
 /// Apply the test on a given value
 /// </summary>
 /// <param name="val">the value of the test</param>
 /// <returns>the issue of the test</returns>
 public abstract int Perform(AttributeValue val);
Esempio n. 2
0
 /// <summary>
 /// Returns the son matching a value given this node's test. The argument is tested
 /// adn the matching son is returned. If the test is numerical, the argument must be
 /// Double object, else it must be an Integer.
 /// </summary>
 /// <param name="val">the value to test</param>
 /// <returns>The node matching the test issue.</returns>
 public Node MatchingSon(AttributeValue val)
 {
     return(this._sons[_test.Perform(val)]);
 }