public class HybridMaximalTimeStep extends Simulator
GillespieEnhanced, the fast ones are handled by tau leaping. This method can
be a substancial improvement on speed when simulating a network composed of different realms of
magnitude (e.g. when simulating both gene regulation and metabolism).
For references see J. Puchalka. and A.M. Kierzek, Briding the Gap betwwen Stochastic and Determininistic Regimes in the Kinetic Simulations of the Biochemical Reaction Networks, Biophysical 86, 1357-1372 (2004)
GillespieEnhanced,
DependencyGraphSimulator.FireType| Constructor and Description |
|---|
HybridMaximalTimeStep(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 |
void |
performStep(SimulationController control)
Performs one simulation step.
|
void |
reinitialize()
Reset propensities when a event has been executed.
|
void |
setAmount(int species,
long amount)
Sets the amount of the given species.
|
void |
setVolume(double volume)
Sets the volume of the reaction network.
|
addObserver, getAmount, getNet, getNextThetaEvent, getPropensity, getPropensityCalculator, getTime, getVolume, initializePropensities, isInterpolateTheta, postRun, preRun, registerNewTheta, run, setInterpolateTheta, setStochasticSeed, start, startpublic HybridMaximalTimeStep(Network net)
public void initialize()
SimulatorAmountManagerstartinitialize in class Simulatorpublic void reinitialize()
Simulatorreinitialize in class Simulatorpublic void performStep(SimulationController control)
SimulatorSimulator.setAmount(int, long)
and Simulator.setVolume(double) if they need correct values!performStep in class Simulatorcontrol - the simulators controllerpublic void setVolume(double volume)
Simulatorpublic void setAmount(int species,
long amount)
SimulatorsetAmount in class Simulatorspecies - species indexamount - amount of speciesAmountManager.setAmount(int, long)Copyright © 2007–2021. All rights reserved.