Constructors

Link copied to clipboard
constructor(incarnation: Incarnation<T, Euclidean2DPosition>)

Properties

Link copied to clipboard
Link copied to clipboard
val nodes: ListSet<Node<T>>
Link copied to clipboard
open override val origin: Euclidean2DPosition

Functions

Link copied to clipboard
open override fun addGlobalReaction(p0: GlobalReaction<T>)
Link copied to clipboard
override fun addLayer(p0: Molecule, p1: Layer<T, Euclidean2DPosition>)
Link copied to clipboard
override fun addNode(p0: Node<T>, p1: Euclidean2DPosition): Boolean
Link copied to clipboard
Link copied to clipboard
override fun forEach(p0: Consumer<in Node<T>>)
Link copied to clipboard
override fun getDimensions(): Int
Link copied to clipboard
override fun getDistanceBetweenNodes(p0: Node<T>, p1: Node<T>): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun getLayers(): ListSet<Layer<T, Euclidean2DPosition>>
Link copied to clipboard
Link copied to clipboard
override fun getNeighborhood(@Nonnull p0: Node<T>): Neighborhood<T>
Link copied to clipboard
override fun getNodeByID(p0: Int): Node<T>
Link copied to clipboard
override fun getNodeCount(): Int
Link copied to clipboard
override fun getNodesWithinRange(p0: Node<T>, p1: Double): ListSet<Node<T>>
override fun getNodesWithinRange(p0: Euclidean2DPosition, p1: Double): ListSet<Node<T>>
Link copied to clipboard
override fun getOffset(): DoubleArray
Link copied to clipboard
@Nonnull
override fun getPosition(p0: Node<T>): Euclidean2DPosition
Link copied to clipboard
@Nonnull
override fun getSimulation(): Simulation<T, Euclidean2DPosition>
Link copied to clipboard
override fun getSize(): DoubleArray
Link copied to clipboard
open override fun getSizeInDistanceUnits(): DoubleArray
Link copied to clipboard
override fun isTerminated(): Boolean
Link copied to clipboard
@Nonnull
operator override fun iterator(): MutableIterator<Node<T>>
Link copied to clipboard
abstract fun makePosition(vararg p0: Number): Euclidean2DPosition

open override fun makePosition(vararg coordinates: Double): Euclidean2DPosition

Creates a new Euclidean2DPosition.

Link copied to clipboard
open fun moveNode(node: Node<T>, direction: Euclidean2DPosition)
Link copied to clipboard
open override fun moveNodeToPosition(p0: Node<T>, p1: Euclidean2DPosition)
Link copied to clipboard
fun <R> Iterable<R>.randomElement(randomGenerator: RandomGenerator): R

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

Link copied to clipboard
open override fun removeGlobalReaction(p0: GlobalReaction<T>)
Link copied to clipboard
override fun removeNode(@Nonnull p0: Node<T>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <R> Iterable<R>.shuffled(randomGenerator: RandomGenerator): Iterable<R>

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

Link copied to clipboard
override fun spliterator(): Spliterator<Node<T>>
Link copied to clipboard
open override fun toString(): String