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
Calculates the dominance of the current goal
based on the preferred level of fulfilment and the real level of fulfilment
dominance = preferred level - current level
The update of the goals describe the effect the current situation has (external and internal state/perception)
has on the satisfaction of the goals an individual has.