AbstractRandomDeployment

abstract class AbstractRandomDeployment<P : Position<out P>>(environment: Environment<*, P>, randomGenerator: RandomGenerator, nodeCount: Int) : Deployment<P> (source)

Abstract base for random deployments of nodes inside an environment.

Type Parameters

P

the position type

Inheritors

Constructors

Link copied to clipboard
constructor(environment: Environment<*, P>, randomGenerator: RandomGenerator, nodeCount: Int)

Functions

Link copied to clipboard

Returns the optional NetworkModel associated to the deployment, or null if there is none.

Link copied to clipboard
open operator override fun iterator(): Iterator<P>
Link copied to clipboard
open override fun stream(): Stream<P>

Returns a Stream over the positions of this Deployment.