org.drools.phreak
Class RuleNetworkEvaluatorActivation
java.lang.Object
org.drools.common.AgendaItem
org.drools.phreak.RuleNetworkEvaluatorActivation
- All Implemented Interfaces:
- Externalizable, Serializable, Queueable, Activation, org.kie.runtime.rule.Match
public class RuleNetworkEvaluatorActivation
- extends AgendaItem
- See Also:
- Serialized Form
|
Method Summary |
static LeftTuple |
deleteLeftChild(LeftTuple childLeftTuple,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples)
|
static LeftTuple |
deleteRightChild(LeftTuple childLeftTuple,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples)
|
static void |
dpUpdatesReorderLeftMemory(BetaMemory bm,
InternalWorkingMemory wm,
RightTupleSets srcRightTuples,
LeftTupleSets srcLeftTuples)
|
static void |
dpUpdatesReorderRightMemory(BetaMemory bm,
InternalWorkingMemory wm,
RightTupleSets srcRightTuples,
LeftTupleSets srcLeftTuples)
|
LeftTupleSets |
eval(NetworkNode node,
Memory nodeMem,
SegmentMemory[] smems,
int smemIndex,
LeftTupleSets trgTuples,
LeftTupleSets stagedLeftTuples,
InternalWorkingMemory wm)
|
int |
evaluateNetwork(InternalWorkingMemory wm)
|
boolean |
isRuleNetworkEvaluatorActivation()
|
| Methods inherited from class org.drools.common.AgendaItem |
addBlocked, addLogicalDependency, cancel, dequeue, enqueued, equals, getActivationGroupNode, getActivationNode, getActivationNumber, getActivationUnMatchListener, getAgendaGroup, getBlocked, getBlockers, getConsequence, getDeclarationIds, getDeclarationValue, getFactHandle, getFactHandles, getIndex, getLogicalDependencies, getObjects, getPropagationContext, getRule, getRuleTerminalNode, getSalience, getSequenence, getSubRule, getTuple, hashCode, isActivated, isActive, isCanceled, isMatched, readExternal, remove, removeAllBlockersAndBlocked, removeBlocked, setActivated, setActivationGroupNode, setActivationNode, setActivationUnMatchListener, setAgendaGroup, setBlocked, setFactHandle, setLogicalDependencies, setMatched, setPropagationContext, setSalience, setSequenence, toExternalForm, toString, writeExternal |
RuleNetworkEvaluatorActivation
public RuleNetworkEvaluatorActivation()
RuleNetworkEvaluatorActivation
public RuleNetworkEvaluatorActivation(long activationNumber,
LeftTuple tuple,
int salience,
PropagationContext context,
RuleMemory rmem,
RuleTerminalNode rtn)
- Construct.
- Parameters:
tuple - The tuple.rule - The rule.
evaluateNetwork
public int evaluateNetwork(InternalWorkingMemory wm)
eval
public LeftTupleSets eval(NetworkNode node,
Memory nodeMem,
SegmentMemory[] smems,
int smemIndex,
LeftTupleSets trgTuples,
LeftTupleSets stagedLeftTuples,
InternalWorkingMemory wm)
isRuleNetworkEvaluatorActivation
public boolean isRuleNetworkEvaluatorActivation()
- Specified by:
isRuleNetworkEvaluatorActivation in interface Activation- Overrides:
isRuleNetworkEvaluatorActivation in class AgendaItem
deleteLeftChild
public static LeftTuple deleteLeftChild(LeftTuple childLeftTuple,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples)
deleteRightChild
public static LeftTuple deleteRightChild(LeftTuple childLeftTuple,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples)
dpUpdatesReorderLeftMemory
public static void dpUpdatesReorderLeftMemory(BetaMemory bm,
InternalWorkingMemory wm,
RightTupleSets srcRightTuples,
LeftTupleSets srcLeftTuples)
dpUpdatesReorderRightMemory
public static void dpUpdatesReorderRightMemory(BetaMemory bm,
InternalWorkingMemory wm,
RightTupleSets srcRightTuples,
LeftTupleSets srcLeftTuples)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.