Package-level declarations
Types
Link copied to clipboard
This strategy makes the node move every time of a fixed amount in space.
Link copied to clipboard
class ConstantSpeed<T, P : Position<P>>(reaction: NodeReaction<*>, speed: Double) : SpeedSelectionStrategy<T, P>
This strategy makes the node move at an average constant speed, which is influenced by the it.unibo.alchemist.model.TimeDistribution of the TimeDistributedReaction hosting this it.unibo.alchemist.model.Action. This action tries to normalize on the reaction rate, but if the it.unibo.alchemist.model.TimeDistribution has a high variance, the movements on the map will inherit this tract.
Link copied to clipboard
class GloballyConstantSpeed<T, P : Position<P>>(reaction: NodeReaction<*>, maxSpeed: Double) : SpeedSelectionStrategy<T, P>
Similar to ConstantSpeed, but takes into consideration the mean delay of the time distribution instead of the rate of the reaction: every movement covers the distance traveled at maxSpeed in the expected time between two occurrences. The mean delay must be finite and positive, both when this strategy is built and at every movement.
Link copied to clipboard
This strategy slows down nodes depending on how many "interacting" nodes are found in the surroundings.