Package org.drools.core.phreak
Class EagerPhreakBuilder
java.lang.Object
org.drools.core.phreak.EagerPhreakBuilder
- All Implemented Interfaces:
PhreakBuilder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.drools.core.phreak.PhreakBuilder
PhreakBuilder.Holder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRule(TerminalNode tn, Collection<InternalWorkingMemory> wms, InternalRuleBase kBase) This method is called after the rule nodes have been added to the network For add tuples are processed after the segments and pmems have been adjustedstatic List<EagerPhreakBuilder.Pair>static booleanisInsideSubnetwork(PathEndNode endNode, SegmentMemory.SegmentPrototype smproto) static voidnotifyImpactedSegments(SegmentMemory smem, InternalWorkingMemory wm, Set<EagerPhreakBuilder.SegmentMemoryPair> segmentsToNotify) voidremoveRule(TerminalNode tn, Collection<InternalWorkingMemory> wms, InternalRuleBase kBase) This method is called before the rule nodes are removed from the network.
-
Constructor Details
-
EagerPhreakBuilder
public EagerPhreakBuilder()
-
-
Method Details
-
addRule
This method is called after the rule nodes have been added to the network For add tuples are processed after the segments and pmems have been adjusted- Specified by:
addRulein interfacePhreakBuilder
-
removeRule
public void removeRule(TerminalNode tn, Collection<InternalWorkingMemory> wms, InternalRuleBase kBase) This method is called before the rule nodes are removed from the network. For remove tuples are processed before the segments and pmems have been adjusted Note the- Specified by:
removeRulein interfacePhreakBuilder
-
notifyImpactedSegments
public static void notifyImpactedSegments(SegmentMemory smem, InternalWorkingMemory wm, Set<EagerPhreakBuilder.SegmentMemoryPair> segmentsToNotify) -
getExclusiveBranchRoots
-
isInsideSubnetwork
public static boolean isInsideSubnetwork(PathEndNode endNode, SegmentMemory.SegmentPrototype smproto)
-