ILsaNode

interface ILsaNode : Node<List<ILsaMolecule>>

Interface for an LSA Node. Avoids the crappy casts.

Functions

Link copied to clipboard
abstract fun addReaction(p: Reaction<T>)
Link copied to clipboard
abstract fun cloneNode(p: Time): Node<T>
Link copied to clipboard
abstract fun compareTo(p: T): Int
Link copied to clipboard
abstract fun contains(p: Molecule): Boolean
Link copied to clipboard
open fun forEach(action: Consumer<out Any>)
Link copied to clipboard
abstract fun getConcentration(mol: Molecule): List<ILsaMolecule>
Link copied to clipboard
abstract fun getContents(): Map<Molecule, T>
Link copied to clipboard
abstract fun getId(): Int
Link copied to clipboard
abstract fun getLsaSpace(): List<ILsaMolecule>
Link copied to clipboard
abstract fun getMoleculeCount(): Int
Link copied to clipboard
abstract fun getReactions(): List<Reaction<T>>
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun removeConcentration(matchedInstance: ILsaMolecule): Boolean
Deletes an ILsaMolecule from the Node LsaSpace Warning: the method removes only the first matched ILsaMolecule.
abstract fun removeConcentration(p: Molecule)
Link copied to clipboard
abstract fun removeReaction(p: Reaction<T>)
Link copied to clipboard
abstract fun setConcentration(inst: ILsaMolecule)
Adds an instance of ILsaMolecule in the node's LsaSpace.
abstract fun setConcentration(p: Molecule, p1: T)
Link copied to clipboard
open fun spliterator(): Spliterator<T>

Inheritors

Link copied to clipboard