Package it.unibo.alchemist.loader.deployments

Types

Link copied to clipboard
class CloseToGPSTrace<T> @JvmOverloads constructor(    randomGenerator: RandomGenerator,     environment: Environment<T, GeoPosition>,     nodeCount: Int,     variance: Double,     from: Time = Time.ZERO,     interval: Time = DoubleTime(1.0),     val to: Time = Time.INFINITY,     gpsFilePath: String,     normalizerClass: String,     normalizerArguments: Any) : AbstractCloseTo<T, GeoPosition>

This Deployment displaces nodes in the proximity of a GPS trace. Given a time interval from some time to another, it creates a TraceLoader, then uses the points in the interval to generate the sources for a Gaussian bivariate function and uses its probability density to deploy. Higher variance spreads nodes farther away from the trace with higher probability.

Link copied to clipboard
class FromGPSTrace : Deployment<P>
Distributes nodes in the first positions of it.unibo.alchemist.model.interfaces.GPSTrace.