Interface Condition

All Superinterfaces:
Activatible, Initializable
All Known Subinterfaces:
Node, PamNode, RootableNode
All Known Implementing Classes:
NodeImpl, PamNodeImpl, RootableNodeImpl

public interface Condition
extends Activatible

A requirement for a Behavior to be selected. Implementors should correctly override Object.equals(Object) and Object.hashCode() since Conditions are used as keys in Maps.

Javier Snaider

Field Summary
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible
Method Summary
 java.lang.Object getConditionId()
          Gets id.
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


java.lang.Object getConditionId()
Gets id. The return object must be unique and it must be able to use as a map key i.e. Object.equals(Object) and Object.hashCode() must be overwritten for this id.

Condition's unique id