GeometricGradientRectangle
Constructors
Link copied to clipboard
constructor(randomGenerator: RandomGenerator, environment: Environment<*, P>, nodes: Int, x: Double, y: Double, sizeX: Double, sizeY: Double, lambda: Double, steps: Int, horizontal: Boolean, increasing: Boolean)
Use this constructor to displace multiple groups of devices with exponentially varied density along an axis.
constructor(randomGenerator: RandomGenerator, environment: Environment<*, P>, nodes: Int, x: Double, y: Double, sizeX: Double, sizeY: Double, lambda: Double, horizontal: Boolean, increasing: Boolean)
Use this constructor to displace devices with an exponentially varied density along an axis.
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.