genDevs.devsBridge
Class SimulationHelper

java.lang.Object
  extended by genDevs.devsBridge.SimulationHelper

public class SimulationHelper
extends java.lang.Object

Basic usage of DevsJava coordinator and SimView. for model construction and invocation of procedure see SimpArc.corba.efp

Author:
twutz
See Also:
simpArc.devsBridge.efp

Constructor Summary
SimulationHelper()
           
 
Method Summary
static void invokeSimView(simView.ViewableDigraph coupledModel)
          alternatively invoke model within SimView.
static void simulate(genDevs.modeling.digraph coupledModel, int maxIter)
          usual way of executing a coupled model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationHelper

public SimulationHelper()
Method Detail

simulate

public static void simulate(genDevs.modeling.digraph coupledModel,
                            int maxIter)
usual way of executing a coupled model.

Parameters:
coupledModel - the model to execute.
maxIter - maximum number of iterations performed.

invokeSimView

public static void invokeSimView(simView.ViewableDigraph coupledModel)
alternatively invoke model within SimView.

Parameters:
coupledModel - the model to simulate.