public class CompositionRejection extends GillespieEnhanced
For references see Daniel T. Gillespie., A General Method for Numerically Simulating the Stochastic Time Evolution of Coupled Chemical Reactions, J.Comp.Phys. 22, 403 (1976) and 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 and Alexander Slepoy Aidan P. Thompson and Steven J. Plimpton, A constant-time kinetic Monte Carlo algorithm for simulation of large biochemical reaction networks, J. Chem. Phys. 128, 205101 (2008); DOI:10.1063/1.2919546
GillespieEnhanced,
DependencyGraphSimulator.FireType| Constructor and Description |
|---|
CompositionRejection(Network net) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the algorithm.
|
void |
initialize()
Initializes the algorithm:
set t=0reset the
AmountManagerrecalculate the propensities
Gets called at the very beginning of start |
boolean |
isEfficientlyAdaptSum() |
void |
performStep(SimulationController control)
Performs one simulation step.
|
void |
reinitialize()
Reset propensities when a event has been executed.
|
setAmount, setEfficientlyAdaptSum, setVolumeaddObserver, getAmount, getNet, getNextThetaEvent, getPropensity, getPropensityCalculator, getTime, getVolume, initializePropensities, isInterpolateTheta, postRun, preRun, registerNewTheta, run, setInterpolateTheta, setStochasticSeed, start, startpublic CompositionRejection(Network net)
public boolean isEfficientlyAdaptSum()
isEfficientlyAdaptSum in class GillespieEnhancedpublic void initialize()
SimulatorAmountManagerstartinitialize in class GillespieEnhancedpublic void reinitialize()
Simulatorreinitialize in class GillespieEnhancedpublic void performStep(SimulationController control)
SimulatorSimulator.setAmount(int, long)
and Simulator.setVolume(double) if they need correct values!performStep in class GillespieEnhancedcontrol - the simulators controllerpublic String getName()
SimulatorgetName in class GillespieEnhancedCopyright © 2007–2021. All rights reserved.