Package | Description |
---|---|
org.drools.core |
This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory
|
org.drools.core.common | |
org.drools.core.marshalling.impl | |
org.drools.core.phreak | |
org.drools.core.reteoo | |
org.drools.core.reteoo.builder | |
org.drools.core.spi |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
ActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
RuleActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
QueryActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
AgendaItem.getTerminalNode() |
TerminalNode |
AgendaItemImpl.getTerminalNode() |
TerminalNode |
ScheduledAgendaItem.getTerminalNode() |
TerminalNode |
PhreakPropagationContext.getTerminalNodeOrigin() |
Modifier and Type | Method and Description |
---|---|
boolean |
ActivationsFilter.accept(Activation activation,
InternalWorkingMemory workingMemory,
TerminalNode rtn)
Returns true if a new activation should be created for the given propagation
or false otherwise
|
void |
DefaultAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory,
Activation activation,
TerminalNode rtn) |
void |
InternalAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory,
Activation activation,
TerminalNode rtn) |
boolean |
DefaultAgenda.createActivation(Tuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory,
TerminalNode rtn) |
boolean |
InternalAgenda.createActivation(Tuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory,
TerminalNode rtn) |
boolean |
DefaultAgenda.createPostponedActivation(LeftTuple tuple,
PropagationContext context,
InternalWorkingMemory workingMemory,
TerminalNode rtn) |
boolean |
InternalAgenda.createPostponedActivation(LeftTuple postponedTuple,
PropagationContext propagationContext,
InternalWorkingMemory workingMemory,
TerminalNode terminalNode) |
RuleAgendaItem |
DefaultAgenda.createRuleAgendaItem(int salience,
PathMemory rs,
TerminalNode rtn) |
RuleAgendaItem |
InternalAgenda.createRuleAgendaItem(int salience,
PathMemory rs,
TerminalNode rtn) |
Constructor and Description |
---|
AgendaItemImpl(long activationNumber,
Tuple tuple,
int salience,
PropagationContext context,
TerminalNode rtn,
InternalAgendaGroup agendaGroup)
Construct.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProtobufInputMarshaller.PBActivationsFilter.accept(Activation activation,
InternalWorkingMemory workingMemory,
TerminalNode rtn) |
Modifier and Type | Method and Description |
---|---|
static void |
AddRemoveRule.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
|
void |
PhreakRuleTerminalNode.doLeftInserts(TerminalNode rtnNode,
InternalWorkingMemory wm,
TupleSets<LeftTuple> srcLeftTuples,
RuleExecutor executor) |
static void |
PhreakRuleTerminalNode.doLeftTupleInsert(TerminalNode rtnNode,
RuleExecutor executor,
InternalAgenda agenda,
RuleAgendaItem ruleAgendaItem,
int salienceInt,
Salience salience,
LeftTuple leftTuple,
InternalWorkingMemory wm) |
static void |
PhreakRuleTerminalNode.doLeftTupleUpdate(TerminalNode rtnNode,
RuleExecutor executor,
InternalAgenda agenda,
int salienceInt,
Salience salience,
LeftTuple leftTuple,
InternalWorkingMemory wm) |
void |
PhreakRuleTerminalNode.doLeftUpdates(TerminalNode rtnNode,
InternalWorkingMemory wm,
TupleSets<LeftTuple> srcLeftTuples,
RuleExecutor executor) |
void |
PhreakRuleTerminalNode.doNode(TerminalNode rtnNode,
InternalWorkingMemory wm,
TupleSets<LeftTuple> srcLeftTuples,
RuleExecutor executor) |
void |
AddRemoveRule.ExistingPathStrategy.handleSplit(PathMemory pmem,
SegmentMemory[] prevSmems,
SegmentMemory[] smems,
int smemIndex,
int prevSmemIndex,
LeftTupleNode parentNode,
LeftTupleNode node,
TerminalNode tn,
Set<LeftTupleNode> visited,
Set<SegmentMemory> smemsToNotify,
Map<LeftTupleNode,SegmentMemory> nodeToSegmentMap,
InternalWorkingMemory wm) |
void |
AddRemoveRule.AddExistingPaths.handleSplit(PathMemory pmem,
SegmentMemory[] prevSmems,
SegmentMemory[] smems,
int smemIndex,
int prevSmemIndex,
LeftTupleNode parentNode,
LeftTupleNode node,
TerminalNode tn,
Set<LeftTupleNode> visited,
Set<SegmentMemory> smemsToNotify,
Map<LeftTupleNode,SegmentMemory> nodeToSegmentMap,
InternalWorkingMemory wm) |
void |
AddRemoveRule.RemoveExistingPaths.handleSplit(PathMemory pmem,
SegmentMemory[] prevSmems,
SegmentMemory[] smems,
int smemIndex,
int prevSmemIndex,
LeftTupleNode parentNode,
LeftTupleNode node,
TerminalNode tn,
Set<LeftTupleNode> visited,
Set<SegmentMemory> smemsToNotify,
Map<LeftTupleNode,SegmentMemory> nodeToSegmentMap,
InternalWorkingMemory wm) |
static boolean |
SegmentUtilities.isRootNode(LeftTupleNode node,
TerminalNode removingTN)
Returns whether the node is the root of a segment.
|
static boolean |
SegmentUtilities.isTipNode(LeftTupleNode node,
TerminalNode removingTN)
Returns whether the node is the tip of a segment.
|
static void |
AddRemoveRule.removeRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalKnowledgeBase kBase)
This method is called before the rule nodes are removed from the network.
|
Constructor and Description |
---|
RuleAgendaItem(long activationNumber,
Tuple tuple,
int salience,
PropagationContext context,
PathMemory pmem,
TerminalNode rtn,
boolean declarativeAgendaEnabled,
InternalAgendaGroup agendaGroup) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTerminalNode |
class |
QueryTerminalNode
Leaf Rete-OO node responsible for enacting
Action s on a
matched Rule . |
class |
RuleTerminalNode
Leaf Rete-OO node responsible for enacting
Action s on a
matched Rule . |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
RuleTerminalNodeLeftTuple.getTerminalNode() |
Modifier and Type | Method and Description |
---|---|
List<TerminalNode> |
RuleBuilder.addRule(RuleImpl rule,
InternalKnowledgeBase kBase,
ReteooBuilder.IdGenerator idGenerator) |
Modifier and Type | Method and Description |
---|---|
void |
QueryElementNode.QueryElementNodeMemory.correctMemoryOnSinksChanged(TerminalNode removingTN) |
static void |
AbstractTerminalNode.initPathMemory(PathMemory pmem,
LeftTupleSource startTupleSource,
InternalWorkingMemory wm,
TerminalNode removingTN)
Creates and return the node memory
|
void |
ReteooBuilder.removeTerminalNode(RuleRemovalContext context,
TerminalNode tn,
InternalWorkingMemory[] workingMemories) |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
NodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
PhreakNodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
PhreakNodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
Modifier and Type | Method and Description |
---|---|
List<TerminalNode> |
ReteooRuleBuilder.addRule(RuleImpl rule,
InternalKnowledgeBase kBase,
ReteooBuilder.IdGenerator idGenerator)
Creates the corresponting Rete network for the given
Rule and adds it to
the given rule base. |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
PropagationContext.getTerminalNodeOrigin() |
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.