Navigation Prioritized Steering
open class NavigationPrioritizedSteering<T, N : ConvexPolygon>(environment: Euclidean2DEnvironmentWithGraph<*, T, N, *>, pedestrian: PedestrianProperty<T>, timeDistribution: TimeDistribution<T>, toleranceAngle: Double = Math.toDegrees(SinglePrevalent.DEFAULT_TOLERANCE_ANGLE), alpha: Double = SinglePrevalent.DEFAULT_ALPHA) : SteeringBehavior<T>
A SteeringBehavior using SinglePrevalent steering strategy and accepting a collection of actions containing a single NavigationAction2D, which is used as the prevalent one.
Parameters
T
concentration type
N
type of nodes of the environment's graph.
Inheritors
Constructors
Link copied to clipboard
constructor(environment: Euclidean2DEnvironmentWithGraph<*, T, N, *>, pedestrian: PedestrianProperty<T>, timeDistribution: TimeDistribution<T>, toleranceAngle: Double = Math.toDegrees(SinglePrevalent.DEFAULT_TOLERANCE_ANGLE), alpha: Double = SinglePrevalent.DEFAULT_ALPHA)
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
The list of steering actions in this reaction.
Link copied to clipboard
Converts a Reaction to a ReactionSurrogate.