CognitiveBehavior

class CognitiveBehavior<T, V : Vector<V>, A : Transformation<V>>(node: Node<T>, timeDistribution: TimeDistribution<T>) : AbstractReaction<T> (source)

Reaction representing the cognitive behavior of a pedestrian.

Parameters

node
the owner of this reaction.
timeDistribution
the time distribution according to this the reaction executes.

Constructors

Link copied to clipboard
constructor(node: Node<T>, timeDistribution: TimeDistribution<T>)

Properties

Link copied to clipboard
@get:Nonnull
open var actions: List<Action<T?>>
Link copied to clipboard
@get:Nonnull
open var conditions: List<Condition<T?>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Nonnull
val node: Node<T?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val rate: Double
Link copied to clipboard
@get:Nonnull
val tau: Time
Link copied to clipboard

Functions

Link copied to clipboard
open fun canExecute(): Boolean
Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>, currentTime: Time): CognitiveBehavior<T, out Vector<*>, Nothing>
Link copied to clipboard
operator fun compareTo(o: Actionable<T?>): Int
Link copied to clipboard
open fun execute()
Link copied to clipboard
open fun initializationComplete(@Nonnull atTime: Time, @Nonnull environment: Environment<T?, *>)
Link copied to clipboard
fun update(@Nonnull currentTime: Time, hasBeenExecuted: Boolean, @Nonnull environment: Environment<T?, *>)