public abstract class AbstractTauLeapingBase extends StochasticSimulator
Modifier and Type | Field and Description |
---|---|
protected static RNG |
GENERATOR |
reverseTime
Constructor and Description |
---|
AbstractTauLeapingBase(AmountManager amountManager,
TransitionKernel transitionKernel)
Create the tau-leaping object.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isThetaEventInCurrentStep(double tau)
Determine of there is a theta event in the current time step, taking into
account possible reverse time jumps.
|
protected void |
updateStates(double tau)
Update all the reactions/transitions that have occurred in the tau step.
|
addObserver, doEvent, doEvent, doThetaEvent, getDefaultObserver, getName, getNextThetaEventTime, init, performStep, registerNewTheta, reinitialize, run, run, setRngSeed
protected static final RNG GENERATOR
public AbstractTauLeapingBase(AmountManager amountManager, TransitionKernel transitionKernel)
amountManager
- the amount manager used in the simulator.transitionKernel
- the transition kernel to be used with the stochastic solver.protected final void updateStates(double tau)
tau
- the step size.protected final boolean isThetaEventInCurrentStep(double tau)
tau
- the time interval (will be negative for reverse time).Copyright © 2015 University of Glasgow. All rights reserved.