NavigationPrioritizedSteering

open class NavigationPrioritizedSteering<T, N : ConvexPolygon> @JvmOverloads constructor(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> (source)

A SteeringBehavior that prioritizes a single navigation action using the SinglePrevalent strategy. The provided actions must contain a single NavigationAction2D, used as the prevalent action.

Parameters

environment

the environment containing the navigation graph.

timeDistribution

the time distribution that schedules reaction execution.

toleranceAngle

tolerance angle in degrees for the SinglePrevalent strategy.

alpha

smoothing alpha for exponential smoothing used by SinglePrevalent.

Type Parameters

T

the concentration type.

N

the polygon type used by the environment's navigation 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

Link copied to clipboard
open override var actions: List<Action<T>>
Link copied to clipboard
open override val canExecute: Observable<Boolean>
Link copied to clipboard
open override var conditions: List<Condition<T>>
Link copied to clipboard
override val host: Node<T>
Link copied to clipboard
open override val meanDelay: Double
Link copied to clipboard
Link copied to clipboard

the strategy used to combine steering actions

Link copied to clipboard

Functions

Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>): SteeringBehavior<T>
Link copied to clipboard
operator override fun compareTo(other: Reaction<T>): Int
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
open override fun execute()
Link copied to clipboard
override fun initializationComplete(atTime: Time, environment: Environment<T, *>)
Link copied to clipboard

The list of steering actions in this reaction.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
override fun updateSchedulingAfterFiring(currentTime: Time)
Link copied to clipboard
override fun updateSchedulingAfterInvalidation(currentTime: Time)