public class AddRemoveRule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AddRemoveRule.AddExistingPaths |
static interface |
AddRemoveRule.ExistingPathStrategy |
static class |
AddRemoveRule.Flushed |
static class |
AddRemoveRule.RemoveExistingPaths |
Constructor and Description |
---|
AddRemoveRule() |
Modifier and Type | Method and Description |
---|---|
static void |
addRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalKnowledgeBase 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 adjusted
|
static void |
correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm) |
static void |
correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm,
int i) |
static void |
correctSegmentMemoryAfterSplitOnRemove(SegmentMemory sm,
int i) |
static boolean |
flushLeftTupleIfNecessary(InternalWorkingMemory wm,
SegmentMemory sm,
boolean streamMode) |
static boolean |
flushLeftTupleIfNecessary(InternalWorkingMemory wm,
SegmentMemory sm,
LeftTuple leftTuple,
boolean streamMode,
short stagedType) |
static void |
forceFlushLeftTuple(PathMemory pmem,
SegmentMemory sm,
InternalWorkingMemory wm,
TupleSets<LeftTuple> leftTupleSets) |
static void |
removeRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalKnowledgeBase kBase)
This method is called before the rule nodes are removed from the network.
|
static SegmentMemory |
splitSegment(InternalWorkingMemory wm,
SegmentMemory sm1,
LeftTupleNode splitNode) |
public static void addRule(TerminalNode tn, InternalWorkingMemory[] wms, InternalKnowledgeBase kBase)
public static void removeRule(TerminalNode tn, InternalWorkingMemory[] wms, InternalKnowledgeBase kBase)
public static boolean flushLeftTupleIfNecessary(InternalWorkingMemory wm, SegmentMemory sm, boolean streamMode)
public static boolean flushLeftTupleIfNecessary(InternalWorkingMemory wm, SegmentMemory sm, LeftTuple leftTuple, boolean streamMode, short stagedType)
public static void forceFlushLeftTuple(PathMemory pmem, SegmentMemory sm, InternalWorkingMemory wm, TupleSets<LeftTuple> leftTupleSets)
public static void correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm)
public static void correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm, int i)
public static void correctSegmentMemoryAfterSplitOnRemove(SegmentMemory sm, int i)
public static SegmentMemory splitSegment(InternalWorkingMemory wm, SegmentMemory sm1, LeftTupleNode splitNode)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.