
public interface AmountManager
StochasticProcess calls the
performEvent method when it fires an event. The amount manager then| Modifier and Type | Method and Description |
|---|---|
void |
performEvent(SimulationEvent reaction,
int times)
Reflects a (multiple) firing of a reaction by adjusting the populations of the states.
|
void |
resetAmount()
Resets the amount of each species to the initial amount retrieved by the networks
AnnotationManager. |
void |
rollback()
Restore the amount array from the recently saved one.
|
void |
save()
Makes a copy of the amount array.
|
String |
toVerboseString()
Get a detailed description of the states and their sizes (potentially for debugging).
|
void performEvent(SimulationEvent reaction, int times)
RuntimeException is thrown.reaction - the index of the reaction firedtimes - the number of firingsString toVerboseString()
void resetAmount()
AnnotationManager. This
is called whenever a Simulator is started.void save()
void rollback()
Copyright © 2015 University of Glasgow. All rights reserved.