
public class TauLeapingFixedStep extends AbstractTauLeapingBase
| Modifier and Type | Field and Description |
|---|---|
private int |
tau |
GENERATORreverseTime| Constructor and Description |
|---|
TauLeapingFixedStep(AmountManager amountManager,
TransitionKernel transitionKernel,
int tau)
Create the tau-leaping object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the algorithm.
|
void |
performStep()
Performs one simulation step.
|
void |
reinitialize()
Reset propensities when a event has been executed.
|
void |
setRngSeed(int seed)
Seed the RNG if required.
|
isThetaEventInCurrentStep, updateStatesaddObserver, doEvent, doEvent, doThetaEvent, getDefaultObserver, getNextThetaEventTime, init, registerNewTheta, run, runpublic TauLeapingFixedStep(AmountManager amountManager, TransitionKernel transitionKernel, int tau)
amountManager - the amount manager used in the simulator.transitionKernel - the transition kernel to be used with the stochastic solver.tau - the fixed step.public final String getName()
StochasticSimulatorgetName in class StochasticSimulatorpublic final void performStep()
StochasticSimulatorSimulator#setAmount(int, long) and Simulator#setVolume(double) if they need correct values!performStep in class StochasticSimulatorpublic final void setRngSeed(int seed)
StochasticSimulatorsetRngSeed in class StochasticSimulatorseed - the RNG seed.public final void reinitialize()
StochasticSimulatorreinitialize in class StochasticSimulatorCopyright © 2015 University of Glasgow. All rights reserved.