MoleculeHasConcentration

A condition that is valid iff a molecule has exactly the desired concentration.

Parameters

<T>

concentration type

Constructors

Link copied to clipboard
constructor(node: Node<T>, molecule: Molecule, value: T)

Properties

Link copied to clipboard
val node: Node<T>

Functions

Link copied to clipboard
abstract fun cloneCondition(p: Node<T>, p1: Reaction<T>): Condition<T>

open fun cloneCondition(node: Node<T>, reaction: Reaction<T>): Condition<T>
How to override: create a new action of your concrete subtype.
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
abstract fun getInboundDependencies(): ListSet<out Dependency>

How to override: if you intend your condition to be potentially changed by any change in the context, return null.
Link copied to clipboard
abstract fun getNode(): Node<T>
Link copied to clipboard
Link copied to clipboard
open fun isValid(): Boolean
Link copied to clipboard
open fun reactionReady()
Link copied to clipboard
open fun toString(): String