LsaNode

class LsaNode : AbstractNode<List<ILsaMolecule>> , ILsaNode

This class realizes a node with LSA concentration.

Constructors

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

Functions

Link copied to clipboard
fun addReaction(reactionToAdd: Reaction<T>)
Link copied to clipboard
open fun cloneNode(currentTime: Time): AbstractNode<T>
abstract fun cloneNode(p: Time): Node<T>
Link copied to clipboard
fun compareTo(other: Node<T>): Int
Link copied to clipboard
open fun contains(m: 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(m: Molecule): List<ILsaMolecule>
Link copied to clipboard
open fun getContents(): Map<Molecule, List<ILsaMolecule>>
Link copied to clipboard
fun getId(): Int
Link copied to clipboard
open fun getLsaSpace(): List<ILsaMolecule>
Link copied to clipboard
open fun getMoleculeCount(): Int
Link copied to clipboard
fun getReactions(): List<Reaction<T>>
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
open 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(mol: 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