TimestampStrategy

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<GeoLocation>)

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.