Class CognitiveBehavior
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Actionable
,it.unibo.alchemist.model.Reaction
,java.io.Serializable
,kotlin.Comparable
public final class CognitiveBehavior<T extends Object, V extends Vector<V>, A extends Transformation<V>> extends AbstractReaction<T>
Reaction representing the cognitive behavior of a pedestrian.
-
-
Field Summary
Fields Modifier and Type Field Description private List<Action<T>>
actions
private List<Condition<T>>
conditions
private final TimeDistribution<T>
timeDistribution
private final Node<T>
node
private final Context
inputContext
private final Context
outputContext
private final ListSet<Dependency>
outboundDependencies
private final ListSet<Dependency>
inboundDependencies
private final Double
rate
private final Time
tau
-
Constructor Summary
Constructors Constructor Description CognitiveBehavior(Node<T> node, TimeDistribution<T> timeDistribution)
-
Method Summary
Modifier and Type Method Description CognitiveBehavior<T, out Vector<?>, Void>
cloneOnNewNode(Node<T> node, Time currentTime)
-
Methods inherited from class it.unibo.alchemist.model.reactions.AbstractReaction
canExecute, compareTo, equals, execute, getActions, getConditions, getInboundDependencies, getInputContext, getNode, getOutboundDependencies, getOutputContext, getTau, getTimeDistribution, hashCode, initializationComplete, setActions, setConditions, toString, update
-
Methods inherited from class it.unibo.alchemist.model.Actionable
getRate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CognitiveBehavior
CognitiveBehavior(Node<T> node, TimeDistribution<T> timeDistribution)
- Parameters:
node
-the owner of this reaction.
timeDistribution
-the time distribution according to this the reaction executes.
-
-
Method Detail
-
cloneOnNewNode
CognitiveBehavior<T, out Vector<?>, Void> cloneOnNewNode(Node<T> node, Time currentTime)
-
-
-
-