edu.memphis.ccrg.lida.proceduralmemory
Interface ProceduralUnit

All Superinterfaces:
Activatible, Initializable
All Known Subinterfaces:
Behavior, Scheme
All Known Implementing Classes:
BehaviorImpl, SchemeImpl

public interface ProceduralUnit
extends Activatible

An abstraction of the commonality between Scheme and Behavior.

Author:
Ryan J. McCall, Javier Snaider

Field Summary
 
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION
 
Method Summary
 Action getAction()
          Gets action.
 java.util.Collection<Condition> getAddingList()
          Gets adding list.
 java.util.Collection<Condition> getContextConditions()
          Gets context conditions.
 java.util.Collection<Condition> getDeletingList()
          Gets deleting list.
 int getId()
          Gets scheme's id.
 java.lang.String getLabel()
          Gets the label.
 void setId(int id)
          Sets unique identifier for Scheme.
 void setLabel(java.lang.String l)
          Sets Scheme's label
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable
containsParameter, getParam, getParameters, init, init
 

Method Detail

getAction

Action getAction()
Gets action.

Returns:
the Action this unit contains

getContextConditions

java.util.Collection<Condition> getContextConditions()
Gets context conditions.

Returns:
the context's conditions

getAddingList

java.util.Collection<Condition> getAddingList()
Gets adding list.

Returns:
the adding list

getDeletingList

java.util.Collection<Condition> getDeletingList()
Gets deleting list.

Returns:
the deleting list

getLabel

java.lang.String getLabel()
Gets the label.

Returns:
label of the unit

setLabel

void setLabel(java.lang.String l)
Sets Scheme's label

Parameters:
l - a String

setId

void setId(int id)
Sets unique identifier for Scheme. Should be used by ElementFactory only.

Parameters:
id - unique identifier for this scheme

getId

int getId()
Gets scheme's id.

Returns:
unique identifier for this scheme