| java.lang.Object com.hp.hpl.jena.reasoner.rulesys.impl.RETETerminal
RETETerminal | public class RETETerminal implements RETESinkNode(Code) | | The final node in a RETE graph. It runs the builtin guard clauses
and then, if the token passes, executes the head operations.
author: Dave Reynolds version: $Revision: 1.18 $ on $Date: 2008/01/02 12:06:16 $ |
logger | protected static Log logger(Code) | | |
RETETerminal | public RETETerminal(Rule rule, RETEEngine engine, ForwardRuleInfGraphI graph)(Code) | | Constructor.
Parameters: rule - the rule which this terminal should fire. Parameters: engine - the parent rule engine through which the deductions and recursive network can be reached. Parameters: graph - the wider encompasing infGraph needed to for the RuleContext |
RETETerminal | protected RETETerminal(RETERuleContext context)(Code) | | Constructor. Used internally for cloning.
Parameters: rule - the rule which this terminal should fire. Parameters: engine - the parent rule engine through which the deductions and recursive network can be reached. Parameters: graph - the wider encompasing infGraph needed to for the RuleContext |
clone | public RETENode clone(Map netCopy, RETERuleContext contextIn)(Code) | | Clone this node in the network.
Parameters: netCopy - a map from RETENode to cloned instance Parameters: context - the new context to which the network is being ported |
fire | public void fire(BindingVector env, boolean isAdd)(Code) | | Propagate a token to this node.
Parameters: env - a set of variable bindings for the rule being processed. Parameters: isAdd - distinguishes between add and remove operations. |
|
|