LsaNode

This class realizes a node with LSA concentration.

Constructors

Link copied to clipboard
constructor(environment: Environment<List<ILsaMolecule>, out Any>)

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
fun addProperty(nodeProperty: NodeProperty<T>)
Link copied to clipboard
fun addReaction(reactionToAdd: Reaction<T>)
Link copied to clipboard
open fun <C : NodeProperty<T>?> asProperty(superType: KClass<C>): C
Link copied to clipboard
open fun <C : NodeProperty<T>?> asPropertyOrNull(superType: Class<in C>): C
Link copied to clipboard
open fun cloneNode(currentTime: Time): Node<T>
Link copied to clipboard
fun compareTo(other: Node<T>): Int
Link copied to clipboard
open fun contains(@Nonnull molecule: Molecule): Boolean
Link copied to clipboard
fun equals(other: Any): Boolean
Link copied to clipboard
fun forEach(action: Consumer<in Reaction<T>>)
Link copied to clipboard
open fun getConcentration(@Nonnull m: Molecule): List<ILsaMolecule>
Link copied to clipboard
@Nonnull
open fun getContents(): Map<Molecule, List<ILsaMolecule>>
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
fun removeConcentration(moleculeToRemove: Molecule)

open fun removeConcentration(matchedInstance: ILsaMolecule): Boolean
Deletes an ILsaMolecule from the Node LsaSpace Warning: the method removes only the first matched ILsaMolecule.
Link copied to clipboard
fun removeReaction(reactionToRemove: Reaction<T>)
Link copied to clipboard
Adds an instance of ILsaMolecule in the node's LsaSpace.
open fun setConcentration(@Nonnull molecule: Molecule, c: List<ILsaMolecule>)
Link copied to clipboard
Link copied to clipboard
@Nonnull
open fun toString(): String