AbstractNeighborCondition

abstract class AbstractNeighborCondition<T> : AbstractCondition<T>

Represents a condition on a neighbor. Formally this conditions is satisfied if at least one neighbor satisfy the condition.

Parameters

<T>

the concentration type.

Functions

Link copied to clipboard
abstract fun cloneCondition(node: Node<T>, reaction: Reaction<T>): AbstractNeighborCondition<T>
Link copied to clipboard
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
Override if desired behavior differs.
Link copied to clipboard
fun getValidNeighbors(): Map<Node<T>, Double>
Searches in the given neighborhood which nodes satisfy the condition, and returns a list of valid neighbors.
Link copied to clipboard
abstract fun isValid(): Boolean
Link copied to clipboard
open fun reactionReady()
Link copied to clipboard
open fun toString(): String

Inheritors

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