AlignToSimulationTime

Aligns all traces at the initial simulation time. If you have two traces, the first trace start with time = 2 and second point with time = 5, the second trace start with time = 4 and second point with time = 6, the result will be: - first trace start with time = 0 and second point with time = 3 - second trace start with time = 0 and second point with time = 2

Constructors

Link copied to clipboard
constructor()
Default empty constructor, builds a AlignToSimulationTime with RETAIN_SINGLE_POINTS behavior for trace with single point.

Functions

Link copied to clipboard
abstract fun alignTime(traces: List<GPSTrace>): ImmutableList<GPSTrace>
open fun alignTime(traces: List<GPSTrace>): ImmutableList<GPSTrace>