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>

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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:Nonnull
open override var actions: List<Action<T>>
Link copied to clipboard
@get:Nonnull
open override var conditions: List<Condition<T>>
Link copied to clipboard
@get:Nonnull
override val inboundDependencies: ListSet<Dependency>
Link copied to clipboard
@get:Nonnull
override val inputContext: Context
Link copied to clipboard
@get:Nonnull
override val node: Node<T>
Link copied to clipboard
@get:Nonnull
override val outboundDependencies: ListSet<Dependency>
Link copied to clipboard
@get:Nonnull
override val outputContext: Context
Link copied to clipboard
open val rate: Double
Link copied to clipboard
Link copied to clipboard
@get:Nonnull
override val tau: Time
Link copied to clipboard
@get:Nonnull
override val timeDistribution: TimeDistribution<T>

Functions

Link copied to clipboard
open override fun canExecute(): Boolean
Link copied to clipboard
open override fun cloneOnNewNode(node: Node<T>, currentTime: Time): SteeringBehavior<T>
Link copied to clipboard
operator override fun compareTo(other: Actionable<T>): Int
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun execute()
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open override fun initializationComplete(@Nonnull atTime: Time, @Nonnull 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 update(@Nonnull currentTime: Time, hasBeenExecuted: Boolean, @Nonnull environment: Environment<T, *>)