Class AlignToTime

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.gps.GPSTimeAlignment

    
    public final class AlignToTime
    extends AbstractGPSTimeAlignment
                        

    Aligns the traces with the given time in seconds from Epoch. All points before such time will be discarded. All points after the provided time will be shifted back. Summarizing, the time that is provided represents in the real world the time zero of the simulation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AlignToTime(double time, boolean filterEmpty, boolean exceptionForEmpty)
      AlignToTime(Time time, boolean filterEmpty, boolean exceptionForEmpty)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class it.unibo.alchemist.boundary.gps.alignments.AbstractGPSTimeAlignment

        alignTime
      • Methods inherited from class it.unibo.alchemist.boundary.gps.GPSTimeAlignment

        alignTime
      • Methods inherited from class java.lang.Object

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

      • AlignToTime

        AlignToTime(double time, boolean filterEmpty, boolean exceptionForEmpty)
        Parameters:
        time - the time from which the traces should begin.
        filterEmpty - if true filter empty traces
        exceptionForEmpty - if true throw exception for empty traces
      • AlignToTime

        AlignToTime(Time time, boolean filterEmpty, boolean exceptionForEmpty)
        Parameters:
        time - the time from which the traces should begin.
        filterEmpty - if true filter empty traces
        exceptionForEmpty - if true throw exception for empty traces
    • Method Detail