Class TraceDependantSpeed

  • All Implemented Interfaces:
    it.unibo.alchemist.model.maps.ObjectWithGPS , it.unibo.alchemist.model.movestrategies.SpeedSelectionStrategy , java.io.Serializable

    
    public abstract class TraceDependantSpeed<T, O extends RoutingServiceOptions<O>, S extends RoutingService<GeoPosition, O>>
    extends AbstractStrategyWithGPS implements SpeedSelectionStrategy<T, P>
                        

    This strategy dynamically tries to move the node adjusting its speed to synchronize the reaction rate and the traces data.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected GPSTrace trace
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final double getNodeMovementLength(GeoPosition target)
      • Methods inherited from class it.unibo.alchemist.model.maps.movestrategies.AbstractStrategyWithGPS

        setTrace
      • Methods inherited from class it.unibo.alchemist.model.movestrategies.SpeedSelectionStrategy

        cloneIfNeeded
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TraceDependantSpeed

        TraceDependantSpeed(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction)
        Parameters:
        environment - the environment
        node - the node
        reaction - the reaction