CognitiveAgentFollowScalarField
class CognitiveAgentFollowScalarField<T, P : Position2D<P>, Vector2D<P>, A : Transformation<P>>(environment: Environment<T, P>, reaction: NodeReaction<T>, pedestrian: PedestrianProperty<T>, center: P? = null, valueIn: (P) -> Double) : AbstractSteeringAction<T, P, A> (source)
Moves the node where the given scalar field is higher.
Constructors
Link copied to clipboard
constructor(environment: Environment<T, P>, reaction: NodeReaction<T>, pedestrian: PedestrianProperty<T>, center: P? = null, valueIn: (P) -> Double)