fern.simulation.observer
Class MultiAmountIntervalObserver
java.lang.Object
fern.simulation.observer.Observer
fern.simulation.observer.IntervalObserver
fern.simulation.observer.MultiAmountIntervalObserver
- All Implemented Interfaces:
- GnuPlotObserver
public class MultiAmountIntervalObserver
- extends IntervalObserver
Observes amounts of molecule species repeatedly after certain intervals. The amount of the
given molecules is summed up.
This observer does take repeats into account. If you repeat the simulation,
you will get an average over the results of each run.
- Author:
- Florian Erhard
Methods inherited from class fern.simulation.observer.IntervalObserver |
activateReaction, finished, getFinalValue, getRecentData, isPlotQuality, isThetaMethod, setPlotQuality, setThetaMethod, started, step, theta, toGnuplot, toGnuplot, toGnuplotRecent, toGnuplotRecent, toString |
MultiAmountIntervalObserver
public MultiAmountIntervalObserver(Simulator sim,
String presentationName,
double interval,
int... species)
- Creates the observer for a given simulator, a given interval and given species indices
- Parameters:
sim
- simulatorinterval
- intervalspecies
- species indices
MultiAmountIntervalObserver
public MultiAmountIntervalObserver(Simulator sim,
String presentationName,
double interval,
String... speciesName)
- Creates the observer for a given simulator, a given interval and given species names.
- Parameters:
sim
- simulatorinterval
- intervalspeciesName
- species names
getStyles
public String[] getStyles()
- Description copied from interface:
GnuPlotObserver
- Gets the styles for the columns. If you don't want styles, just return null!
- Returns:
- styles for the columns