DelaySim
Class PDA

java.lang.Object
  extended by DelaySim.PDA

public class PDA
extends java.lang.Object

A class describing a reaction-based system to be simulated by the Delay Stochastic Simulation Algorithm where reactions follow the purely delayed approach.


Field Summary
 Reaction[] R
          the set of reactions both delayed and non-delayed
 int[] x
          the simulation state
 
Constructor Summary
PDA(Reaction[] reactions_d, int[] state)
          Constructor for a PDA object.
 
Method Summary
 void print()
          Print a summary on this system.
 void simulate(double t0, double T)
          Execute a PDA simulation for this system starting at time t0 up to time T.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

R

public Reaction[] R
the set of reactions both delayed and non-delayed


x

public int[] x
the simulation state

Constructor Detail

PDA

public PDA(Reaction[] reactions_d,
           int[] state)
Constructor for a PDA object.

Parameters:
reactions_d - the reactions;
state - the initial state vector;
Method Detail

simulate

public void simulate(double t0,
                     double T)
Execute a PDA simulation for this system starting at time t0 up to time T.

Parameters:
t0 - initial time;
T - stop time;

print

public void print()
Print a summary on this system.