org.drools.core.phreak
Class RuleNetworkEvaluator
java.lang.Object
org.drools.core.phreak.RuleNetworkEvaluator
public class RuleNetworkEvaluator
- extends Object
|
Method Summary |
static LeftTuple |
deleteLeftChild(LeftTuple childLeftTuple,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples)
|
static LeftTuple |
deleteRightChild(LeftTuple childLeftTuple,
LeftTupleSets trgLeftTuples,
LeftTupleSets stagedLeftTuples)
|
static void |
dpUpdatesExistentialReorderLeftMemory(BetaMemory bm,
LeftTupleSets srcLeftTuples)
|
static void |
dpUpdatesExistentialReorderRightMemory(BetaMemory bm,
BetaNode betaNode,
RightTupleSets srcRightTuples)
|
static void |
dpUpdatesReorderLeftMemory(BetaMemory bm,
LeftTupleSets srcLeftTuples)
|
static void |
dpUpdatesReorderRightMemory(BetaMemory bm,
RightTupleSets srcRightTuples)
|
void |
eval1(LeftInputAdapterNode liaNode,
PathMemory rmem,
NetworkNode node,
Memory nodeMem,
SegmentMemory[] smems,
int smemIndex,
LeftTupleSets trgTuples,
InternalWorkingMemory wm,
LinkedList<RuleNetworkEvaluator.StackEntry> stack,
Set<String> visitedRules,
boolean processRian,
RuleNetworkEvaluatorActivation activation)
|
void |
eval2(LeftInputAdapterNode liaNode,
PathMemory rmem,
NetworkNode node,
Memory nodeMem,
SegmentMemory[] smems,
int smemIndex,
LeftTupleSets trgTuples,
InternalWorkingMemory wm,
LinkedList<RuleNetworkEvaluator.StackEntry> stack,
Set<String> visitedRules,
boolean processRian,
RuleNetworkEvaluatorActivation activation)
|
int |
evaluateNetwork(PathMemory pmem,
InternalWorkingMemory wm,
RuleNetworkEvaluatorActivation activation)
|
static int |
getOffset(NetworkNode node)
|
static String |
indent(int size)
|
boolean |
isRuleNetworkEvaluatorActivation()
|
static boolean |
useLeftMemory(LeftTupleSource tupleSource,
LeftTuple leftTuple)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleNetworkEvaluator
public RuleNetworkEvaluator()
evaluateNetwork
public int evaluateNetwork(PathMemory pmem,
InternalWorkingMemory wm,
RuleNetworkEvaluatorActivation activation)
indent
public static String indent(int size)
getOffset
public static int getOffset(NetworkNode node)
eval1
public void eval1(LeftInputAdapterNode liaNode,
PathMemory rmem,
NetworkNode node,
Memory nodeMem,
SegmentMemory[] smems,
int smemIndex,
LeftTupleSets trgTuples,
InternalWorkingMemory wm,
LinkedList<RuleNetworkEvaluator.StackEntry> stack,
Set<String> visitedRules,
boolean processRian,
RuleNetworkEvaluatorActivation activation)
eval2
public void eval2(LeftInputAdapterNode liaNode,
PathMemory rmem,
NetworkNode node,
Memory nodeMem,
SegmentMemory[] smems,
int smemIndex,
LeftTupleSets trgTuples,
InternalWorkingMemory wm,
LinkedList<RuleNetworkEvaluator.StackEntry> stack,
Set<String> visitedRules,
boolean processRian,
RuleNetworkEvaluatorActivation activation)
isRuleNetworkEvaluatorActivation
public boolean isRuleNetworkEvaluatorActivation()
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,
LeftTupleSets srcLeftTuples)
dpUpdatesExistentialReorderLeftMemory
public static void dpUpdatesExistentialReorderLeftMemory(BetaMemory bm,
LeftTupleSets srcLeftTuples)
dpUpdatesReorderRightMemory
public static void dpUpdatesReorderRightMemory(BetaMemory bm,
RightTupleSets srcRightTuples)
dpUpdatesExistentialReorderRightMemory
public static void dpUpdatesExistentialReorderRightMemory(BetaMemory bm,
BetaNode betaNode,
RightTupleSets srcRightTuples)
useLeftMemory
public static boolean useLeftMemory(LeftTupleSource tupleSource,
LeftTuple leftTuple)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.