Circle

Parameters

<P>

Constructors

Link copied to clipboard
constructor(pm: Environment<out Any, P>, rand: RandomGenerator, nodes: Int, centerX: Double, centerY: Double, radius: Double)

Functions

Link copied to clipboard
open fun forEach(p: Consumer<in T>)
Link copied to clipboard
Optional LinkingRule associated to the deployment.
Link copied to clipboard
open fun iterator(): Iterator<P>
abstract fun iterator(): Iterator<T>
Link copied to clipboard
fun <R> Iterable<R>.randomElement(randomGenerator: <Error class: unknown class>): R

Returns a random element of the Iterable using the provided randomGenerator.

Link copied to clipboard
fun <R> Iterable<R>.shuffled(randomGenerator: <Error class: unknown class>): Iterable<R>

Fisher–Yates shuffle algorithm using a RandomGenerator. More information on Wikipedia.

Link copied to clipboard
Link copied to clipboard
abstract fun stream(): Stream<P>
open fun stream(): Stream<P>