GeometricGradientRectangle

Distributes nodes geometrically within a rectangular shape.

Parameters

<P>

position type

Constructors

Link copied to clipboard
constructor(randomGenerator: RandomGenerator, environment: Environment<out Any, 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<out Any, 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
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
@Nullable
open fun <T> getAssociatedLinkingRule(): LinkingRule<T, P>
Optional LinkingRule associated to the deployment.
Link copied to clipboard
open fun iterator(): Iterator<P>
abstract fun iterator(): Iterator<T>
Link copied to clipboard
Link copied to clipboard
abstract fun stream(): Stream<P>
open fun stream(): Stream<P>