Molecule

interface Molecule

A molecule, identified by its name.

Inheritors

Properties

Link copied to clipboard
abstract val name: String

The name of this Molecule.

Functions

Link copied to clipboard
context(incarnation: Incarnation<T, *>, node: Node<T>)
operator fun <T> Molecule.invoke(concentration: T = incarnation.createConcentration())

Assigns the given concentration to this Molecule on the current Node.

Link copied to clipboard
Link copied to clipboard
context(incarnation: Incarnation<T, *>, _: Node<T>)
operator fun <T> Molecule.unaryMinus()

Assigns a default concentration for this Molecule to the current Node.