Cognitive Behavior
class CognitiveBehavior<T, V : Vector<V>, A : Transformation<V>>(node: Node<T>, timeDistribution: TimeDistribution<T>) : AbstractReaction<T>
Reaction representing the cognitive behavior of a pedestrian.
Parameters
node
the owner of this reaction.
Content copied to clipboard
time Distribution
the time distribution according to this the reaction executes.
Content copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>, currentTime: Time): CognitiveBehavior<T, out Vector<*>, Nothing>
This method allows to clone this reaction on a new node. It may result useful to support runtime creation of nodes with the same reaction programming, e.g. for morphogenesis.
Link copied to clipboard
Link copied to clipboard
This method is called when the environment has completed its initialization. Can be used by this reaction to compute its next execution time - in case such computation requires an inspection of the environment.
Link copied to clipboard
Converts a Reaction to a ReactionSurrogate.