Package it. unibo. alchemist. loader. deployments
Types
A generic Deployment that displaces a certain nodeCount of nodes in the proximity of a number of sources. Higher variance implies higher dispersion. Subclasses must identify the sources
Displaces the nodes in the environment in a circular arc, given a nodeCount, the coordinates of the circle's center centerX and centerY, the circle's radius radius, perturbation randomness (uniform, generated via randomGenerator) for radius radiusRandomness and for angle angleRandomness, a startAngle, and an endAngle.
This Deployment places new nodes in the proximity of those already included in the environment. Behaviour if there are no nodes already inserted is undefined.
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.
A deployment based on a GraphStream graph.
A (possibly randomized) grid of nodes.
Creates a new Polygon with the given points.
Given an environment and a list of list of numbers, it creates a list of the right position type for the environment.