Package | Description |
---|---|
org.apache.jena.reasoner.rulesys |
Provides a selection of simple rule engines for Jena inference models.
|
org.apache.jena.reasoner.rulesys.impl |
Internal implementation objects used by the rule system interpreters
and compilers.
|
Modifier and Type | Method and Description |
---|---|
BindingEnvironment |
RuleContext.getEnv()
Returns the current variable binding environment for the current rule.
|
Modifier and Type | Method and Description |
---|---|
Node[] |
Functor.getBoundArgs(BindingEnvironment env)
Return a new Node array containing the bound versions of this Functor's arguments
|
Rule |
Rule.instantiate(BindingEnvironment env)
Instantiate a rule given a variable binding environment.
|
boolean |
Functor.isGround(BindingEnvironment env)
Returns true if the functor is fully ground in the given environment
|
boolean |
FBRuleInfGraph.processBuiltin(ClauseEntry clause,
Rule rule,
BindingEnvironment env)
Process a call to a builtin predicate
|
boolean |
LPBackwardRuleInfGraph.processBuiltin(ClauseEntry clause,
Rule rule,
BindingEnvironment env)
Process a call to a builtin predicate
|
boolean |
BackwardRuleInfGraphI.processBuiltin(ClauseEntry clause,
Rule rule,
BindingEnvironment env)
Process a call to a builtin predicate
|
Modifier and Type | Class and Description |
---|---|
class |
BindingStack
Provides a trail of possible variable bindings for a forward rule.
|
class |
BindingVector
An implementation of a binding environment that maintains
a single array of bound values for the variables in a rule.
|
class |
LPBindingEnvironment
Implementation of the binding environment interface for use in LP
backward rules.
|
Modifier and Type | Method and Description |
---|---|
BindingEnvironment |
BBRuleContext.getEnv() |
BindingEnvironment |
RETERuleContext.getEnv()
Returns the current variable binding environment for the current rule.
|
BindingEnvironment |
BFRuleContext.getEnv()
Returns the current variable binding environment for the current rule.
|
Modifier and Type | Method and Description |
---|---|
void |
RETEConflictSet.add(Rule rule,
BindingEnvironment env,
boolean isAdd)
Record a request for a rule firing.
|
void |
RETEEngine.requestRuleFiring(Rule rule,
BindingEnvironment env,
boolean isAdd)
Add a rule firing request to the conflict set.
|
static int |
FRuleEngine.scoreNodeBoundness(Node n,
BindingEnvironment env)
Score a Node in terms of groundedness - heuristic.
|
void |
BBRuleContext.setEnv(BindingEnvironment env)
Set the binding environment for the this context
|
void |
RETERuleContext.setEnv(BindingEnvironment env)
Sets the current binding environment for this context.
|
Licenced under the Apache License, Version 2.0