AISTrace

class AISTrace(val vesselMMSI: MMSI, val payloads: List<AISPayload>, rawPayloads: List<AISPayload> = payloads) : Comparable<AISTrace>

Simulation-aligned AIS payload stream for a single vessel.

Constructors

Link copied to clipboard
constructor(vesselMMSI: MMSI, payloads: List<AISPayload>, rawPayloads: List<AISPayload> = payloads)

Types

Link copied to clipboard
object Companion

AIS trace factory.

Properties

Link copied to clipboard

progressively completed AIS payloads sorted by timestamp.

Link copied to clipboard

AIS MMSI assigned to this trace.

Functions

Link copied to clipboard
open operator override fun compareTo(other: AISTrace): Int
Link copied to clipboard

Current AIS payload at simulation time.

fun payloadAt(timestamp: Instant): AISPayload

Current AIS payload at timestamp.