public class ReteBoundary
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ReteEngine |
engine |
protected ReteContainer |
headContainer |
protected InputConnector |
inputConnector |
protected Network |
network |
protected java.util.Map<Address<? extends Receiver>,java.util.Set<SubPlan>> |
parentPlansOfReceiver
SubPlans of parent nodes that have the key node as their child.
|
protected java.util.Map<SubPlan,Address<? extends Supplier>> |
subplanToAddressMapping |
Constructor and Description |
---|
ReteBoundary(ReteEngine engine)
Prerequisite: engine has its network and framework fields initialized
|
Modifier and Type | Method and Description |
---|---|
Address<? extends Production> |
accessProductionNode(PQuery query)
accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yet
|
RecipeTraceInfo |
accessProductionTrace(PQuery query)
accesses the production node for specified pattern; builds pattern matcher if it doesn't exist yet
|
Address<? extends Supplier> |
getAddress(SubPlan plan) |
java.util.Collection<? extends RecipeTraceInfo> |
getAllProductionNodes() |
ReteContainer |
getHeadContainer() |
void |
mapPlanToAddress(SubPlan plan,
Address<? extends Supplier> handle) |
void |
notifyEvaluator(Address<? extends Receiver> receiver,
Tuple tuple) |
protected ReteEngine engine
protected Network network
protected ReteContainer headContainer
protected final InputConnector inputConnector
protected java.util.Map<SubPlan,Address<? extends Supplier>> subplanToAddressMapping
public ReteBoundary(ReteEngine engine)
public ReteContainer getHeadContainer()
public java.util.Collection<? extends RecipeTraceInfo> getAllProductionNodes()
public RecipeTraceInfo accessProductionTrace(PQuery query) throws QueryProcessingException
QueryProcessingException
public Address<? extends Production> accessProductionNode(PQuery query) throws QueryProcessingException
QueryProcessingException