psimjava
Class Simulation
java.lang.Object
psimjava.Simulation
public class Simulation
- extends java.lang.Object
Class used by modeler (user) to set up and start a simulation run.
An object of this class must be created in the main method of a
simulation model.
PsimJ Java package for process interaction to object-oriented simulation
(C) Jose M. Garrido, June 2000, August 2003, 2004, 2007
|
Constructor Summary |
Simulation(java.lang.String sname)
Contructor to initialize simulation. |
|
Method Summary |
void |
start_sim(double sim_p)
Start a simulation run with the specified simulation period. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pt_res
public static Res_chain pt_res
pt_bin
public static Bin_chain pt_bin
Simulation
public Simulation(java.lang.String sname)
- Contructor to initialize simulation.
- Parameters:
sname, - title for the simulation project
start_sim
public void start_sim(double sim_p)
- Start a simulation run with the specified simulation period.
- Parameters:
sim_p - Simulation period.