AbstractRandomDeployment
abstract class AbstractRandomDeployment<P : Position<out P>>(environment: Environment<*, P>, randomGenerator: RandomGenerator, nodeCount: Int) : Deployment<P>
Abstract base for random deployments of nodes inside an environment.
Type Parameters
P
the position type
Inheritors
Functions
Link copied to clipboard
Returns the optional NetworkModel associated to the deployment, or null if there is none.
Link copied to clipboard
Returns a random element of the Iterable using the provided randomGenerator.
Link copied to clipboard
Fisher–Yates shuffle algorithm using a RandomGenerator. More information on Wikipedia.