|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Behavior
An instantiated Scheme
with a context, adding list, and deleting list.
Field Summary |
---|
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
---|
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION |
Method Summary | |
---|---|
boolean |
addContextCondition(Node condition)
Adds the context condition. |
boolean |
addToAddingList(Node condition)
Adds the to adding list. |
boolean |
addToDeletingList(Node deleteCondition)
Adds the to deleting list. |
boolean |
containsAddingItem(Node commonNode)
Contains adding item. |
boolean |
containsContextCondition(Node commonNode)
Contains context condition. |
boolean |
containsDeletingItem(Node commonNode)
Contains deleting item. |
void |
deactivateAllContextConditions()
deactivates all context conditions. |
void |
deactiveContextCondition(Node condition)
Deactive context condition. |
Action |
getAction()
Gets action. |
NodeStructure |
getAddingList()
Gets adding list. |
double |
getAddingListCount()
Gets adding list count. |
NodeStructure |
getContext()
Gets context |
java.util.Collection<Node> |
getContextNodes()
Gets context nodes. |
java.lang.String |
getContextNodeType()
Gets context node type. |
int |
getContextSize()
Gets context size. |
NodeStructure |
getDeletingList()
Gets deleting list. |
double |
getDeletingListCount()
Gets deleting list count. |
Scheme |
getGeneratingScheme()
Gets generating scheme. |
long |
getId()
Gets id. |
java.lang.String |
getLabel()
Gets label. |
double |
getResultSize()
Gets result size. |
int |
getUnsatisfiedContextCount()
Gets unsatisfied context count. |
boolean |
isAllContextConditionsSatisfied()
Returns true if all context conditions are satisfied. |
boolean |
isContextConditionSatisfied(Node n)
Returns true if supplied condition is satisfied. |
void |
setAction(Action action)
Sets action |
void |
setContextNodeType(java.lang.String nodeType)
Sets context node type. |
void |
setGeneratingScheme(Scheme s)
Sets generating scheme. |
void |
setLabel(java.lang.String label)
Sets label. |
void |
updateAddingCondition(Node broadcastNode)
Update adding condition. |
void |
updateContextCondition(Node condition)
marks supplied condition as present. |
void |
updateDeletingCondition(Node broadcastNode)
Update deleting condition. |
Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
---|
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy |
Method Detail |
---|
long getId()
void setAction(Action action)
action
- Action
this behavior containsAction getAction()
Action
this behavior containsjava.lang.String getLabel()
void setLabel(java.lang.String label)
label
- the new labelScheme getGeneratingScheme()
void setGeneratingScheme(Scheme s)
s
- the new generating schemevoid setContextNodeType(java.lang.String nodeType)
nodeType
- the new context node typejava.lang.String getContextNodeType()
boolean addContextCondition(Node condition)
condition
- the condition
boolean containsContextCondition(Node commonNode)
commonNode
- the common node
java.util.Collection<Node> getContextNodes()
NodeStructure getContext()
NodeStructure
that is the contextint getContextSize()
void updateContextCondition(Node condition)
condition
- the conditionboolean isContextConditionSatisfied(Node n)
n
- Node
boolean isAllContextConditionsSatisfied()
int getUnsatisfiedContextCount()
void deactiveContextCondition(Node condition)
condition
- the conditionvoid deactivateAllContextConditions()
NodeStructure getAddingList()
boolean addToAddingList(Node condition)
condition
- the condition
boolean containsAddingItem(Node commonNode)
commonNode
- the common node
double getAddingListCount()
void updateAddingCondition(Node broadcastNode)
broadcastNode
- the broadcast nodeNodeStructure getDeletingList()
boolean addToDeletingList(Node deleteCondition)
deleteCondition
- the delete condition
boolean containsDeletingItem(Node commonNode)
commonNode
- the common node
double getDeletingListCount()
void updateDeletingCondition(Node broadcastNode)
broadcastNode
- the broadcast nodedouble getResultSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |