Class CloseToGPSTrace
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Deployment,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public final class CloseToGPSTrace<T extends Object> extends AbstractCloseTo<T, GeoPosition>
This it.unibo.alchemist.model.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.
-
-
Field Summary
Fields Modifier and Type Field Description private final Timeto
-
Constructor Summary
Constructors Constructor Description CloseToGPSTrace(RandomGenerator randomGenerator, Environment<T, GeoPosition> environment, Integer nodeCount, Double variance, Time from, Time interval, Time to, String gpsFilePath, String normalizerClass, Object normalizerArguments)CloseToGPSTrace(RandomGenerator randomGenerator, Environment<T, GeoPosition> environment, Integer nodeCount, Double variance, Time from, Time interval, String gpsFilePath, String normalizerClass, Object normalizerArguments)CloseToGPSTrace(RandomGenerator randomGenerator, Environment<T, GeoPosition> environment, Integer nodeCount, Double variance, Time from, String gpsFilePath, String normalizerClass, Object normalizerArguments)CloseToGPSTrace(RandomGenerator randomGenerator, Environment<T, GeoPosition> environment, Integer nodeCount, Double variance, String gpsFilePath, String normalizerClass, Object normalizerArguments)
-
Method Summary
Modifier and Type Method Description final TimegetTo()-
Methods inherited from class it.unibo.alchemist.model.deployments.AbstractCloseTo
stream -
Methods inherited from class kotlin.collections.Iterable
forEach, spliterator -
Methods inherited from class it.unibo.alchemist.model.Deployment
getAssociatedLinkingRule, iterator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CloseToGPSTrace
CloseToGPSTrace(RandomGenerator randomGenerator, Environment<T, GeoPosition> environment, Integer nodeCount, Double variance, Time from, Time interval, Time to, String gpsFilePath, String normalizerClass, Object normalizerArguments)
-
CloseToGPSTrace
CloseToGPSTrace(RandomGenerator randomGenerator, Environment<T, GeoPosition> environment, Integer nodeCount, Double variance, Time from, Time interval, String gpsFilePath, String normalizerClass, Object normalizerArguments)
-
CloseToGPSTrace
CloseToGPSTrace(RandomGenerator randomGenerator, Environment<T, GeoPosition> environment, Integer nodeCount, Double variance, Time from, String gpsFilePath, String normalizerClass, Object normalizerArguments)
-
-
Method Detail
-
getTo
final Time getTo()
-
-
-
-