JGraphTDependencyGraph

class JGraphTDependencyGraph<T>(environment: Environment<T, *>) : DependencyGraph<T>

This class offers an implementation of a dependency graph, namely a data structure which can address in an efficient way the problem of finding those reactions affected by the execution of another reaction. This class relies heavily on the ReactionHandler interface.

Parameters

concentration type

Constructors

Link copied to clipboard
constructor(environment: Environment<T, *>)

Functions

Link copied to clipboard
open override fun addNeighbor(n1: Node<T>, n2: Node<T>)
Link copied to clipboard
open override fun createDependencies(newReaction: Actionable<T>)
Link copied to clipboard
open override fun globalInputContextReactions(): ListSet<Actionable<T>>
Link copied to clipboard
open override fun outboundDependencies(reaction: Actionable<T>?): ListSet<Actionable<T>>
Link copied to clipboard
open override fun removeDependencies(reaction: Actionable<T>)
Link copied to clipboard
open override fun removeNeighbor(n1: Node<T>, n2: Node<T>)
Link copied to clipboard
open override fun toString(): String