-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Reaction,java.io.Serializable,kotlin.Comparable
public final class CognitiveBehavior<T extends Object, V extends Vector<V>, A extends GeometricTransformation<V>> extends AbstractReaction<T>
Reaction representing the cognitive behavior of a pedestrian.
-
-
Constructor Summary
Constructors Constructor Description CognitiveBehavior(CognitivePedestrian<T, V, A> pedestrian, TimeDistribution<T> timeDistribution)
-
Method Summary
Modifier and Type Method Description CognitiveBehavior<T, V, A>cloneOnNewNode(Node<T> node, Time currentTime)DoublegetRate()-
Methods inherited from class it.unibo.alchemist.model.implementations.reactions.CognitiveBehavior
addInboundDependency, addOutboundDependency, canExecute, compareTo, equals, execute, getActions, getConditions, getInboundDependencies, getInputContext, getNode, getOutboundDependencies, getOutputContext, getRateAsString, getReactionName, getTau, getTimeDistribution, hashCode, initializationComplete, makeClone, setActions, setConditions, setInputContext, setOutputContext, toString, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CognitiveBehavior
CognitiveBehavior(CognitivePedestrian<T, V, A> pedestrian, TimeDistribution<T> timeDistribution)
- Parameters:
pedestrian-the owner of this reaction.timeDistribution-the time distribution according to this the reaction executes.
-
-
Method Detail
-
cloneOnNewNode
CognitiveBehavior<T, V, A> cloneOnNewNode(Node<T> node, Time currentTime)
-
-
-
-