GeometricGradientRectangle

class GeometricGradientRectangle<P : Position<out P>?> : Rectangle<P>

Distributes nodes geometrically within a rectangular shape.

Parameters

<P>

position type

Constructors

Link copied to clipboard
open fun GeometricGradientRectangle(    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.
Link copied to clipboard
open fun GeometricGradientRectangle(    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<out Any>)
Link copied to clipboard
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
open fun spliterator(): Spliterator<T>
Link copied to clipboard
open fun stream(): Stream<P>
abstract fun stream(): Stream<P>