edu.washington.cs.knowitall.rule.validate
Class MRRuleValidator
java.lang.Object
edu.washington.cs.knowitall.rule.validate.RuleValidator
edu.washington.cs.knowitall.rule.validate.MRRuleValidator
public class MRRuleValidator
- extends RuleValidator
|
Method Summary |
boolean |
validate(Rule rule)
Check if a derived rule has a valid form. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MRRuleValidator
public MRRuleValidator()
validate
public boolean validate(Rule rule)
- Check if a derived rule has a valid form. The base definition of
"valid" is that the last predicate constraint was not removed.
- Specified by:
validate in class RuleValidator
- Parameters:
rule - the rule to check
- Returns:
Copyright © 2011 University of Washington CSE. All Rights Reserved.