LsaNode

class LsaNode : GenericNode<T> , ILsaNode

This class realizes a node with LSA concentration.

Constructors

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

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<out Any>): 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<out Any>)
Link copied to clipboard
open fun getConcentration(@Nonnull m: Molecule): List<ILsaMolecule>
Link copied to clipboard
open fun getContents(): Map<Molecule, List<ILsaMolecule>>
Link copied to clipboard
open fun getLsaSpace(): List<ILsaMolecule>
Link copied to clipboard
open fun getMoleculeCount(): Int
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
fun iterator(): Iterator<Reaction<T>>
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
open fun setConcentration(inst: ILsaMolecule)
Adds an instance of ILsaMolecule in the node's LsaSpace.
open fun setConcentration(@Nonnull molecule: Molecule, c: List<ILsaMolecule>)
Link copied to clipboard
fun spliterator(): Spliterator<Reaction<T>>
open fun spliterator(): Spliterator<T>
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
val Companion: GenericNode.Companion
Link copied to clipboard
val contents: Map<Molecule, T>
Link copied to clipboard
val environment: Environment<T, out Any>
Link copied to clipboard
val id: Int
Link copied to clipboard
val incarnation: Incarnation<T, out Any>
Link copied to clipboard
val molecules: Map<Molecule, T>
Link copied to clipboard
val properties: List<NodeProperty<T>>
Link copied to clipboard
val reactions: List<Reaction<T>>