|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellet.rules.UsableRuleFilter
public class UsableRuleFilter
Title: Usable Rule Filter
Description: An iterable returning only rules that can be used by pellet, discarding and warning about all others.
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
UsableRuleFilter()
|
Method Summary | |
---|---|
static java.lang.String |
explainNotUsable(Rule rule)
Returns a string explaining why a rule cannot be used for reasoning, or null if the rule can be used for reasoning |
static boolean |
isUsable(Rule rule)
Checks if a rule can be used for reasoning. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsableRuleFilter()
Method Detail |
---|
public static boolean isUsable(Rule rule)
rule
- rule to check
true
if rule can be used for reasoningpublic static java.lang.String explainNotUsable(Rule rule)
null
if the rule can be used for reasoning
rule
- rule to check
null
if the rule can be used for reasoning
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |