public class RuleExecutor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RuleExecutor.SalienceComparator |
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
RuleExecutor(PathMemory pmem,
RuleAgendaItem ruleAgendaItem,
boolean declarativeAgendaEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
addLeftTuple(LeftTuple leftTuple) |
void |
addQueuedLeftTuple(LeftTuple leftTuple) |
void |
cancel(InternalWorkingMemory wm,
EventSupport es) |
void |
evaluateNetwork(InternalWorkingMemory wm) |
int |
evaluateNetworkAndFire(InternalWorkingMemory wm,
AgendaFilter filter,
int fireCount,
int fireLimit) |
void |
fire(InternalWorkingMemory wm,
LinkedList<StackEntry> outerStack) |
static void |
flushTupleQueue(TupleEntryQueue tupleQueue) |
LeftTupleList |
getLeftTupleList() |
PathMemory |
getPathMemory() |
RuleAgendaItem |
getRuleAgendaItem() |
boolean |
isDeclarativeAgendaEnabled() |
boolean |
isDirty() |
boolean |
isHighestSalience(RuleAgendaItem nextRule,
int currentSalience) |
void |
reEvaluateNetwork(InternalWorkingMemory wm,
LinkedList<StackEntry> outerStack,
boolean fireUntilHalt) |
void |
removeLeftTuple(LeftTuple leftTuple) |
static void |
removeQueuedTupleEntry(TupleEntryQueue tupleQueue) |
void |
removeRuleAgendaItemWhenEmpty(InternalWorkingMemory wm) |
void |
setDirty(boolean dirty) |
public RuleExecutor(PathMemory pmem, RuleAgendaItem ruleAgendaItem, boolean declarativeAgendaEnabled)
public void evaluateNetwork(InternalWorkingMemory wm)
public int evaluateNetworkAndFire(InternalWorkingMemory wm, AgendaFilter filter, int fireCount, int fireLimit)
public void fire(InternalWorkingMemory wm, LinkedList<StackEntry> outerStack)
public PathMemory getPathMemory()
public void removeRuleAgendaItemWhenEmpty(InternalWorkingMemory wm)
public void reEvaluateNetwork(InternalWorkingMemory wm, LinkedList<StackEntry> outerStack, boolean fireUntilHalt)
public static void flushTupleQueue(TupleEntryQueue tupleQueue)
public static void removeQueuedTupleEntry(TupleEntryQueue tupleQueue)
public RuleAgendaItem getRuleAgendaItem()
public boolean isHighestSalience(RuleAgendaItem nextRule, int currentSalience)
public LeftTupleList getLeftTupleList()
public void addLeftTuple(LeftTuple leftTuple)
public void addQueuedLeftTuple(LeftTuple leftTuple)
public void removeLeftTuple(LeftTuple leftTuple)
public void cancel(InternalWorkingMemory wm, EventSupport es)
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isDeclarativeAgendaEnabled()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.