NavigationPrioritizedSteeringWithPhysics

class NavigationPrioritizedSteeringWithPhysics<T, N : ConvexPolygon> @JvmOverloads constructor(environment: EuclideanPhysics2DEnvironmentWithGraph<*, T, N, *>, pedestrian: PedestrianProperty<T>, timeDistribution: TimeDistribution<T>, toleranceAngle: Double = Math.toDegrees(SinglePrevalent.DEFAULT_TOLERANCE_ANGLE), alpha: Double = SinglePrevalent.DEFAULT_ALPHA) : NavigationPrioritizedSteering<T, N> (source)

NavigationPrioritizedSteering strategy for physical pedestrians, taking into account physical forces as well. Sum strategy is used to combine steering actions and physical forces.

Constructors

Link copied to clipboard
constructor(environment: EuclideanPhysics2DEnvironmentWithGraph<*, 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
@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
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): SteeringBehavior<T>
Link copied to clipboard
operator fun compareTo(o: Actionable<T?>): Int
Link copied to clipboard
open override fun execute()
Link copied to clipboard
open 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
fun update(@Nonnull currentTime: Time, hasBeenExecuted: Boolean, @Nonnull environment: Environment<T?, *>)