public class UsableRuleFilter extends Object
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 and Description |
|---|
UsableRuleFilter() |
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
public static boolean isUsable(Rule rule)
rule - rule to checktrue if rule can be used for reasoningpublic static String explainNotUsable(Rule rule)
null if the rule can be used for reasoningrule - rule to checknull if the rule can be used for reasoningCopyright © 2019. All rights reserved.