AbstractCloseTo

abstract class AbstractCloseTo<T, P : Position<P>>(randomGenerator: RandomGenerator, environment: Environment<T, P>, nodeCount: Int, variance: Double) : Deployment<P>

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

Inheritors

Constructors

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

Functions

Link copied to clipboard
open fun forEach(p0: Consumer<in P>)
Link copied to clipboard
@Nullable
open fun <T : Any> getAssociatedLinkingRule(): LinkingRule<T, P>?

Optional LinkingRule associated to the deployment.

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