Class ReteBoundary
java.lang.Object
tools.refinery.interpreter.rete.boundary.ReteBoundary
Responsible for the storage, maintenance and communication of the nodes of the network that are accessible form the
outside for various reasons.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReteEngine
protected ReteContainer
protected final InputConnector
protected Network
SubPlans of parent nodes that have the key node as their child. -
Constructor Summary
ConstructorsConstructorDescriptionReteBoundary
(ReteEngine engine) Prerequisite: engine has its network and framework fields initialized -
Method Summary
Modifier and TypeMethodDescriptionAddress
<? extends ProductionNode> accessProductionNode
(PQuery query) accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yetaccessProductionTrace
(PQuery query) accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yetgetAddress
(SubPlan plan) Collection
<? extends RecipeTraceInfo> void
mapPlanToAddress
(SubPlan plan, Address<? extends Supplier> handle) void
notifyEvaluator
(Address<? extends Receiver> receiver, Tuple tuple)
-
Field Details
-
engine
-
network
-
headContainer
-
inputConnector
-
subplanToAddressMapping
-
parentPlansOfReceiver
SubPlans of parent nodes that have the key node as their child. For RETE --> SubPlan traceability, mainly at production nodes.
-
-
Constructor Details
-
ReteBoundary
Prerequisite: engine has its network and framework fields initialized
-
-
Method Details
-
getHeadContainer
-
getAllProductionNodes
-
accessProductionTrace
accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yet- Throws:
InterpreterRuntimeException
-
accessProductionNode
accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yet- Throws:
InterpreterRuntimeException
-
notifyEvaluator
-
mapPlanToAddress
-
getAddress
-