CognitiveAgentSeparation
class CognitiveAgentSeparation<T>(val environment: Physics2DEnvironment<T>, reaction: Reaction<T>, pedestrian: PedestrianProperty<T>) : AbstractGroupSteeringAction<T, Euclidean2DPosition, Euclidean2DTransformation>
Steering action that moves the agent away from nearby pedestrians (separation behavior).
Parameters
reaction
the reaction executing this action.
pedestrian
the owner pedestrian property.
Type Parameters
T
the concentration type.
Constructors
Link copied to clipboard
constructor(environment: Physics2DEnvironment<T>, reaction: Reaction<T>, pedestrian: PedestrianProperty<T>)
Properties
Functions
Link copied to clipboard
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
Returns the target relative position the owner will move to when this action is executed. The position is relative to the owner's current position.
Link copied to clipboard