TimestampStrategy

class TimestampStrategy(locations: List<<Error class: unknown class>>) : SimulationStrategy

Strategy that calculates location delay based on difference in GeoLocation.time in consecutive locations.

Parameters

locations

List of locations to be emitted.

Constructors

Link copied to clipboard
constructor(locations: List<<Error class: unknown class>>)

Functions

Link copied to clipboard

Calculates a SimulationLocation to broadcast as a location update.

Link copied to clipboard
open override fun hasNext(): Boolean

Returns true if the geometry has more elements.