|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activation
When a Tuple
fully matches a rule it is added to the Agenda
As an Activation
. Each Activation
is assigned a number, this
number is determined by the WorkingMemory
all Activations
created
from a single assert, modify, retract are assgigned the same Activation number.
Method Summary | |
---|---|
void |
addLogicalDependency(LogicalDependency node)
|
ActivationGroupNode |
getActivationGroupNode()
|
long |
getActivationNumber()
Retrieve the activation number. |
LinkedList |
getLogicalDependencies()
|
PropagationContext |
getPropagationContext()
Retrieve the PropagationContext for the Activation |
Rule |
getRule()
Retrieve the Rule that was activated. |
Tuple |
getTuple()
Retrieve the Tuple that was activated. |
boolean |
isActivated()
|
void |
remove()
Cancel the Activation by removing it from the Agenda . |
void |
setActivated(boolean activated)
|
void |
setActivationGroupNode(ActivationGroupNode activationGroupNode)
|
Method Detail |
---|
Rule getRule()
Rule
that was activated.
Tuple getTuple()
Tuple
that was activated.
PropagationContext getPropagationContext()
PropagationContext
for the Activation
long getActivationNumber()
void remove()
Activation
by removing it from the Agenda
.
void addLogicalDependency(LogicalDependency node)
LinkedList getLogicalDependencies()
boolean isActivated()
void setActivated(boolean activated)
ActivationGroupNode getActivationGroupNode()
void setActivationGroupNode(ActivationGroupNode activationGroupNode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |