GenericMoleculePresent

open class GenericMoleculePresent<T : Number?> : AbstractCondition<T>

This class implements a condition which checks if a molecule is present or not.

Parameters

<T>

the concentration type

Constructors

Link copied to clipboard
open fun GenericMoleculePresent(n: Node<T>, mol: Molecule, quantity: T)
Builds a new condition, which checks if the molecule exists or not inside the node n.

Functions

Link copied to clipboard
open fun cloneCondition(node: Node<T>, reaction: Reaction<T>): GenericMoleculePresent<T>
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
fun getInboundDependencies(): ListSet<out Dependency>
Link copied to clipboard
open fun getNode(): Node<T>
Link copied to clipboard
open fun getPropensityContribution(): Double
Propensity influence is computed through the binomial coefficient.
Link copied to clipboard
open fun getQuantity(): T
Allows to access the threshold.
Link copied to clipboard
open fun isValid(): Boolean
Link copied to clipboard
open fun reactionReady()
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
private val molecule: Molecule

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard