|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICompiledRule
Interface for a compiled rule.
| Method Summary | |
|---|---|
IRelation |
evaluate()
Evaluate rule with all known facts. |
IRelation |
evaluateIteratively(IFacts deltas)
Evaluate the rule using deltas (see semi-naive evaluation) to more intelligently seek out tuples that have not already been computed. |
List<IVariable> |
getVariablesBindings()
If this compiled rule represents a query, then return the variables bindings of the result relation. |
IPredicate |
headPredicate()
If this compiled rule represents a rule, then return the head predicate. |
| Method Detail |
|---|
IRelation evaluate()
throws EvaluationException
EvaluationException
IRelation evaluateIteratively(IFacts deltas)
throws EvaluationException
deltas - The collection of recently discovered facts.
EvaluationExceptionIPredicate headPredicate()
List<IVariable> getVariablesBindings()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||