fern.benchmark
Class SimulatorFireTypes

java.lang.Object
  extended by fern.benchmark.Benchmark
      extended by fern.benchmark.SimulatorPerformance
          extended by fern.benchmark.SimulatorTime
              extended by fern.benchmark.SimulatorFireTypes

public class SimulatorFireTypes
extends SimulatorTime

Benchmark the Simulator.FireTypes for a given net. Use this benchmark, if you want to know, how many SSA steps are performed at tau leaping for a given network. The benchmark method can be invoked repeatedly to calculate the average over many simulations.

Author:
Florian Erhard

Constructor Summary
SimulatorFireTypes(Network net, double time)
          Create the benchmark and defines the time each simulator has to run in one iteration.
 
Method Summary
 void present()
          Present results of this benchmark is gnuplot and text to stdout.
 
Methods inherited from class fern.benchmark.SimulatorPerformance
benchmark, getShowSteps, getSimulators, setShowSteps
 
Methods inherited from class fern.benchmark.Benchmark
addData, clearData, createRandomDoubleArray, end, getNumBins, setNumBins, start, toGnuplot, toGnuplot, toGnuPlotAsHistogram, toGnuPlotAsHistogram
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulatorFireTypes

public SimulatorFireTypes(Network net,
                          double time)
Create the benchmark and defines the time each simulator has to run in one iteration.

Parameters:
net - the network to benchmark
time - running time for the simulators
Method Detail

present

public void present()
Present results of this benchmark is gnuplot and text to stdout.

Overrides:
present in class SimulatorTime