PrioritySteering
class PrioritySteering<T>(environment: Euclidean2DEnvironment<T>, pedestrian: PedestrianProperty<T>, timeDistribution: TimeDistribution<T>) : SteeringBehavior<T>
Steering behavior that executes only the steering action targeting the nearest destination.
Parameters
environment
the environment in which the pedestrian moves.
timeDistribution
the time distribution governing reaction execution.
Type Parameters
T
the concentration type.
Constructors
Link copied to clipboard
constructor(environment: Euclidean2DEnvironment<T>, pedestrian: PedestrianProperty<T>, timeDistribution: TimeDistribution<T>)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
The list of steering actions in this reaction.
Link copied to clipboard
Converts a Reaction to a ReactionSurrogate.