ConcentrationChanged

A condition that holds true only if the tracked Molecule changed its it.unibo.alchemist.model.Concentration.

Parameters

<T>

concentration type

Constructors

Link copied to clipboard
constructor(@Nonnull node: Node<T>, @Nonnull target: Molecule)

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>): ConcentrationChanged<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