Class MoveOnMapWithGPS

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MoveOnMapWithGPS(MapEnvironment<T, O, S> environment, Node<T> node, RoutingStrategy<T, GeoPosition> routingStrategy, SpeedSelectionStrategy<T, GeoPosition> speedSelectionStrategy, TargetSelectionStrategy<T, GeoPosition> targetSelectionStrategy, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
      MoveOnMapWithGPS(MapEnvironment<T, O, S> environment, Node<T> node, RoutingStrategy<T, GeoPosition> routingStrategy, SpeedSelectionStrategy<T, GeoPosition> speedSelectionStrategy, TargetSelectionStrategy<T, GeoPosition> targetSelectionStrategy, GPSTrace trace)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static GPSTrace traceFor(MapEnvironment<out Object, out Object, out Object> environment, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
      • Methods inherited from class it.unibo.alchemist.model.maps.actions.MoveOnMap

        cloneAction, getEnvironment
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractConfigurableMoveNode

        getNextPosition
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode

        execute, getContext
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction

        getOutboundDependencies, toString
      • Methods inherited from class it.unibo.alchemist.model.Action

        cloneAction
      • Methods inherited from class java.lang.Object

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

      • MoveOnMapWithGPS

        MoveOnMapWithGPS(MapEnvironment<T, O, S> environment, Node<T> node, RoutingStrategy<T, GeoPosition> routingStrategy, SpeedSelectionStrategy<T, GeoPosition> speedSelectionStrategy, TargetSelectionStrategy<T, GeoPosition> targetSelectionStrategy, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
        Parameters:
        environment - the environment
        node - the node
        routingStrategy - the RoutingStrategy
        speedSelectionStrategy - the SpeedSelectionStrategy
        targetSelectionStrategy - TargetSelectionStrategy
        path - resource(file, directory, ...
        cycle - true if the traces have to be distributed cyclically
        normalizer - name of the class that implement the strategy to normalize the time
        normalizerArgs - Args to build normalize
      • MoveOnMapWithGPS

        MoveOnMapWithGPS(MapEnvironment<T, O, S> environment, Node<T> node, RoutingStrategy<T, GeoPosition> routingStrategy, SpeedSelectionStrategy<T, GeoPosition> speedSelectionStrategy, TargetSelectionStrategy<T, GeoPosition> targetSelectionStrategy, GPSTrace trace)
        Parameters:
        environment - the environment
        node - the node
        routingStrategy - the RoutingStrategy
        speedSelectionStrategy - the SpeedSelectionStrategy
        targetSelectionStrategy - TargetSelectionStrategy
        trace - to follow
    • Method Detail

      • traceFor

         static GPSTrace traceFor(MapEnvironment<out Object, out Object, out Object> environment, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
        Parameters:
        environment - the environment
        path - resource(file, directory, ...
        cycle - true if the traces have to be distributed cyclically
        normalizer - name of the class that implement the strategy to normalize the time
        normalizerArgs - Args to build normalize
        Returns:

        the GPSTrace