Class FromGPSTrace

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Deployment , java.lang.Iterable

    
    public final class FromGPSTrace
     implements Deployment<P>
                        

    Distributes nodes in the first positions of GPSTrace.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Stream<GeoPosition> stream()
      • Methods inherited from class it.unibo.alchemist.model.Deployment

        getAssociatedLinkingRule, iterator
      • Methods inherited from class java.lang.Iterable

        forEach, iterator, spliterator
      • Methods inherited from class java.lang.Object

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

      • FromGPSTrace

        FromGPSTrace(int nodeCount, String path, boolean cycle, String normalizer, Array<Object> args)
        Parameters:
        nodeCount - number of node request
        path - path with the gps tracks
        cycle - true if, in case there are more nodes to deploy than available GPS traces, the traces should be reused cyclically.
        normalizer - class to use to normalize time
        args - args to use to create GPSTimeNormalizer