public class DependencyGraph extends Object
This definition implies that if a reaction i fires, the propensities of each descendant in the dependency graph has to be recalculated and no other.
For reference see M.A.Gibson and J.Bruck, Efficient Exact Stochastic Simulation of Chemical Systems with Many Species and Many Channels, J.Phys.Chem.A., Vol 104, no 9, 2000
GillespieEnhanced
,
GibsonBruckSimulator
Constructor and Description |
---|
DependencyGraph(Network net)
Creates the dependency graph for a given network
|
Modifier and Type | Method and Description |
---|---|
LinkedList<Integer> |
getDependent(int reaction)
Gets the descendants of a reaction in the dependency graph
|
public DependencyGraph(Network net)
net
- the networkpublic LinkedList<Integer> getDependent(int reaction)
reaction
- index of the reactionCopyright © 2007–2021. All rights reserved.