ILsaNode

interface ILsaNode : Node<T>

Interface for an LSA Node. Avoids the crappy casts.

Functions

Link copied to clipboard
abstract fun addProperty(p: NodeProperty<T>)
Link copied to clipboard
abstract fun addReaction(p: 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
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
abstract fun equals(p: Any): 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 getProperties(): List<NodeProperty<T>>
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>

Properties

Link copied to clipboard
val Companion: Node.Companion

Inheritors

Link copied to clipboard