EnvironmentNodeImpl

A node with non-negative concentration.

Constructors

Link copied to clipboard
constructor(incarnation: Incarnation<Double, out Any>, environment: Environment<Double, out Any>)
Create a new environment node.
constructor(environment: Environment<Double, out Any>)
Create a new environment node.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <C : NodeProperty<T>?> asProperty(p: KClass<C>): C
Link copied to clipboard
inline fun <T, C : NodeProperty<T>> Node<T>.asProperty(): C

returns a NodeProperty of the provided type C.

Link copied to clipboard
open fun <C : NodeProperty<T>?> asPropertyOrNull(p: Class<in C>): C
Link copied to clipboard
inline fun <T, C : NodeProperty<T>> Node<T>.asPropertyOrNull(): C?

returns a NodeProperty of the provided type C or null if the node does not have a compatible property.

Link copied to clipboard
open fun cloneNode(p: Time): Node<T>
Link copied to clipboard
fun compareTo(p: Node<T>): Int
Link copied to clipboard
open fun contains(p: Molecule): Boolean
Link copied to clipboard
fun equals(p: Any): Boolean
Link copied to clipboard
fun forEach(p: Consumer<in Reaction<T>>)
Link copied to clipboard
Link copied to clipboard
open fun getMoleculeCount(): Int
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setConcentration(@Nonnull molecule: Molecule, @Nonnull concentration: Double)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toString(): String