ILsaNode

Interface for an LSA Node.

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun addLsa(inst: ILsaMolecule)
Adds an instance of ILsaMolecule in the node's LsaSpace.
Link copied to clipboard
abstract fun addProperty(p: Capability<T>)
Link copied to clipboard
abstract fun addReaction(p: Reaction<T>)
Link copied to clipboard
open fun <C : Capability<T>?> asProperty(superType: KClass<C>): C
Link copied to clipboard
open fun <C : Capability<T>?> asPropertyOrNull(superType: Class<in C>): C
Link copied to clipboard
abstract fun cloneNode(): Node<T>
Link copied to clipboard
abstract fun compareTo(p: T): Int
Link copied to clipboard
abstract fun concentrationOf(p: Molecule): Observable<Option<T>>
Link copied to clipboard
abstract fun contains(p: Molecule): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun dispose()
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun get(p: Molecule): Option<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getId(): Int
Link copied to clipboard
abstract fun getLsaSpace(): List<ILsaMolecule>
Returns the LSA molecules in this node.
Link copied to clipboard
Link copied to clipboard
abstract fun getProperties(): List<Capability<T>>
Link copied to clipboard
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun matching(template: ILsaMolecule): List<ILsaMolecule>
Finds the LSA instances in this node that [template] matches.
Link copied to clipboard
Observes the instances that [template] may match: those sharing its first argument when it is a constant or a number, every instance otherwise.
Link copied to clipboard
Observes the LSA space of this node.
Link copied to clipboard
open fun remove($this$remove: Reaction<T>)
Link copied to clipboard
Link copied to clipboard
abstract fun removeOneMatchedLsa(matchedInstance: ILsaMolecule): Boolean
Deletes an ILsaMolecule from the Node LsaSpace Warning: the method removes only the first matched ILsaMolecule.
Link copied to clipboard
abstract fun removeReaction(p: Reaction<T>)
Link copied to clipboard
abstract fun set(p: Molecule, p1: T)