AbstractSteeringActionWithTarget
abstract class AbstractSteeringActionWithTarget<T, P : Position<P>, Vector<P>, A : Transformation<P>>(environment: Environment<T, P>, reaction: Reaction<T>, pedestrian: PedestrianProperty<T>, targetSelectionStrategy: TargetSelectionStrategy<T, P>) : AbstractSteeringAction<T, P, A> , SteeringActionWithTarget<T, P> (source)
A SteeringActionWithTarget in a vector space.
Parameters
environment
the environment inside which the node moves.
Content copied to clipboard
pedestrian
the owner of this action.
Content copied to clipboard
targetSelectionStrategy
strategy selecting the next target.
Content copied to clipboard
Inheritors
Constructors
Link copied to clipboard
constructor(environment: Environment<T, P>, reaction: Reaction<T>, pedestrian: PedestrianProperty<T>, target: P)
constructor(environment: Environment<T, P>, reaction: Reaction<T>, pedestrian: PedestrianProperty<T>, targetSelectionStrategy: TargetSelectionStrategy<T, P>)
Properties
Functions
Link copied to clipboard
abstract override fun cloneAction(node: Node<T>, reaction: Reaction<T>): AbstractSteeringAction<T, P, A>
This method allows to clone this action 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Computes the distance between this action's target and the given node.