|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcrowdmodel.agents.MemoryElement
crowdmodel.agents.Rule
crowdmodel.agents.BehaviourRule
public class BehaviourRule
A behaviour rule represents an interaction (or manipulation) with the external world. Implements a body/motor movement.
| Field Summary |
|---|
| Fields inherited from class crowdmodel.agents.MemoryElement |
|---|
d_activation, d_baseLevel, d_contextLevel, d_id, d_name, d_thisAgent, d_thisAgentFlag, d_thisMemory, d_thisMemoryFlag |
| Constructor Summary | |
|---|---|
BehaviourRule()
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
void |
updateActivation()
Overrides the update activation function of a general memory element, as I keep track of the behaviours given their activation level in a treeSet: d_behaviours This gives rise to a dynamical hierarchy (changeable ordening, TOCHECK is dit een 5-cent version van een 5dollar word) After the activation of a behaviour is updated By removing from and immediately adding the behaviour to the treeSet the |
| Methods inherited from class crowdmodel.agents.Rule |
|---|
execute |
| Methods inherited from class crowdmodel.agents.MemoryElement |
|---|
approxB, contextActivation, getActivation, getID, getLastPrimeTime, getName, prime, setThisAgent, setThisMemory, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BehaviourRule()
| Method Detail |
|---|
public void updateActivation()
updateActivation in class MemoryElementpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||