FromGPSTrace

class FromGPSTrace @JvmOverloads constructor(nodeCount: Int? = null, path: String, cycle: Boolean = false, normalizer: String, args: Any) : Deployment<GeoPosition> (source)

Distributes nodeCount nodes in the first positions of the GPSTraces found at path, whose time is aligned using the normalizer class created with the given args. If nodeCount is null, one node is deployed per available trace. If cycle is true and there are more nodes to deploy than available GPS traces, the traces are reused cyclically: e.g., if 10 nodes must be deployed but only 9 GPS traces are available, the first one is reused for the 10th node.

Throws

if there are errors accessing the file system

Constructors

Link copied to clipboard
constructor(nodeCount: Int? = null, path: String, cycle: Boolean = false, normalizer: String, vararg args: Any)

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun iterator(): Iterator<GeoPosition>
Link copied to clipboard
open override fun stream(): Stream<GeoPosition>