SpecificPositions
class SpecificPositions(environment: Environment<*, *>, positions: Iterable<Number>) : Deployment<Position<*>>
Given an environment and a list of list of numbers, it creates a list of the right position type for the environment.
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.