BiomolPresentInNeighbor

Constructors

Link copied to clipboard
constructor(environment: Environment<Double, out Any>, node: Node<Double>, molecule: Biomolecule, concentration: Double)

Properties

Link copied to clipboard
val node: Node<T>

Functions

Link copied to clipboard
abstract fun cloneCondition(node: Node<T>, reaction: Reaction<T>): Condition<T>
open fun cloneCondition(node: Node<T>, reaction: Reaction<T>): Condition<T>
This method allows to clone this action on a new node.
Link copied to clipboard
Link copied to clipboard
fun getInboundDependencies(): ListSet<? extends 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
Override if desired behavior differs.
Link copied to clipboard
Searches in the given neighborhood which nodes satisfy the condition, and returns a list of valid neighbors.
Link copied to clipboard
open fun isValid(): Boolean
Link copied to clipboard
open fun reactionReady()
This method is called by the Simulation once the Reaction whose this Condition belongs to is the next one to be executed, and all its conditions passed (namely, the next operation will be the reaction execution).
Link copied to clipboard
open fun toString(): String