Package it.unibo.alchemist.model.implementations.movestrategies.speed

Types

Link copied to clipboard
class ConstantSpace<T, P : Position<P>?> : SpeedSelectionStrategy<T, P>
This strategy makes the node move every time of a fixed amount of space.
Link copied to clipboard
class ConstantSpeed<T, P : Position<P>?> : SpeedSelectionStrategy<T, P>
This strategy makes the node move at an average constant speed, which is influenced by the it.unibo.alchemist.model.interfaces.TimeDistribution of the Reaction hosting this it.unibo.alchemist.model.interfaces.Action.
Link copied to clipboard
class GloballyConstantSpeed<T, P : Position<P>>(reaction: Reaction<*>, maxSpeed: Double) : SpeedSelectionStrategy<T, P>

Similar to ConstantSpeed but takes in consideration the time distribution's rate instead of the reaction's rate.

Link copied to clipboard
class InteractWithOthers<T, P : Position<out P>?> : SpeedSelectionStrategy<T, P>
This strategy slows down nodes depending on how many "interacting" nodes are found in the surroundings.
Link copied to clipboard
This TraceDependantSpeed strategy computes the remaining distance by relying on maps data for the selected RoutingServiceOptions.
Link copied to clipboard
This TraceDependantSpeed uses the distance between coordinates for estimating the distance.
Link copied to clipboard
This strategy dynamically tries to move the node adjusting its speed to synchronize the reaction rate and the traces data.