|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.rules.compiler.RuleCompiler
public class RuleCompiler
A rule compiler for creating objects that compute new facts using forward-chaining techniques.
| Constructor Summary | |
|---|---|
RuleCompiler(IFacts facts,
Configuration configuration)
Constructor. |
|
RuleCompiler(IFacts facts,
IEquivalentTerms equivalentTerms,
Configuration configuration)
Creates a new RuleCompiler. |
|
| Method Summary | |
|---|---|
ICompiledRule |
compile(IQuery query)
Compile a query. |
ICompiledRule |
compile(IRule rule)
Compile a rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleCompiler(IFacts facts,
Configuration configuration)
facts - The facts that will be used by the compiled rules.
public RuleCompiler(IFacts facts,
IEquivalentTerms equivalentTerms,
Configuration configuration)
facts - The facts that will be used by the compiled rules.equivalentTerms - The equivalent terms.configuration - The configuration.| Method Detail |
|---|
public ICompiledRule compile(IRule rule)
throws EvaluationException
rule - The rule to be compiled
EvaluationException - If the query can not be compiled for any
reason.
public ICompiledRule compile(IQuery query)
throws EvaluationException
query - The query to be compiled
EvaluationException - If the query can not be compiled for any
reason.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||