Package it.unibo.alchemist.model.implementations.actions
Types
An abstract GroupSteeringAction.
Abstract implementation of an action influenced by the concentration of a given molecule in the environment.
An abstract NavigationAction, taking care of properly moving the node in the environment while delegating the decision on where to move it to a NavigationStrategy.
A SteeringAction in a vector space. The implementation of nextPosition is left to subclasses.
A SteeringActionWithTarget in a vector space.
Move the agent towards a target position. It is similar to CognitiveAgentSeek but attempts to arrive at the target position with a zero velocity.
Move the node towards positions of the environment with a low concentration of the target molecule.
Move the agent towards the other members of his group.
Combination of multiple steering actions.
A NavigationAction using Exploring navigation strategy.
Move the agent away from a target position. It's the opposite of CognitiveAgentSeek.
Move the node towards positions of the environment with a high concentration of the target molecule.
A NavigationAction using RouteFollowing navigation strategy.
Moves the node where the given scalar field is higher.
A NavigationAction using GoalOrientedExploring navigation strategy.
Implementation of a NavigationAction2D. This action accepts an Euclidean2DEnvironmentWithGraph whose graph contains ConvexPolygonal nodes and Euclidean2DPassages as edges.
Move the agent avoiding potential obstacles in its path.
A NavigationAction using Pursuing navigation strategy.
A NavigationAction using DestinationReaching navigation strategy. Accepts an array of coordinates representing the destinations and uses inferIsKnown to partition them into known and unknown ones.
A NavigationAction using KnownDestinationReaching navigation strategy.
Move the node towards the target position as fast as possible.
CognitiveAgentSeek behavior in a bidimensional environment, delegated to CognitiveAgentFollowScalarField (this means the node tries to overtake others on its path, in general its movements are more sophisticated than CognitiveAgentSeek).
Move the agent away from the pedestrians near to him.
Give the impression of a random walk through the environment targeting an ever changing pseudo-randomly point of a circumference at a given distance and with a given radius from the current node position.
Functions
Takes the first percentage * size elements of the list.
Converts an array of numbers representing positions to an actual list of positions. E.g. the array 2,3,4,5 in a bidimensional environment would be transformed into a list containing positions (2,3) and (4,5).