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.
-
-
Constructor Summary
Constructors Constructor Description AlignToTime(double time, boolean filterEmpty, boolean exceptionForEmpty)
AlignToTime(Time time, boolean filterEmpty, boolean exceptionForEmpty)
-
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 tracesexceptionForEmpty
- 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 tracesexceptionForEmpty
- if true throw exception for empty traces
-
-
-
-