genDevs.devsBridge.adapter
Class atomicDigraph
java.lang.Object
GenCol.entity
genDevs.modeling.devs
genDevs.modeling.atomic
genDevs.devsBridge.adapter.atomicDigraph
- All Implemented Interfaces:
- GenCol.EntityInterface, genDevs.modeling.IODevs
public class atomicDigraph
- extends genDevs.modeling.atomic
Adapts a coupled model to an atomic model.
- Author:
- twutz
Field Summary |
protected genDevs.simulation.coordinator |
coord
|
protected genDevs.modeling.digraph |
coupledMod
|
protected genDevs.modeling.MessageInterface |
outputs
|
Fields inherited from class genDevs.modeling.atomic |
a, INFINITY, mySim, phase, sigma |
Fields inherited from class genDevs.modeling.devs |
mh |
Fields inherited from class GenCol.entity |
name |
Constructor Summary |
atomicDigraph(genDevs.modeling.digraph coupledMod)
|
Methods inherited from class genDevs.modeling.atomic |
Continue, deltcon, deltext, getActivity, getPhase, getSigma, getSim, holdIn, holdIn, out, passivate, passivateIn, phaseIs, setSigma, setSimulator, showState, startActiviry, stringState, ta, toString |
Methods inherited from class genDevs.modeling.devs |
addInport, addOutport, makeContent, makeContent, messageOnPort, messageOnPort |
Methods inherited from class GenCol.entity |
addSelf, eq, equalName, equals, getExtRep, getName, print, removeSelf |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface genDevs.modeling.IODevs |
addInport, addOutport, makeContent, messageOnPort |
Methods inherited from interface GenCol.EntityInterface |
equalName, getExtRep, getName |
coupledMod
protected genDevs.modeling.digraph coupledMod
coord
protected genDevs.simulation.coordinator coord
outputs
protected genDevs.modeling.MessageInterface outputs
atomicDigraph
public atomicDigraph(genDevs.modeling.digraph coupledMod)
holdAsCoordinator
protected void holdAsCoordinator()
initialize
public void initialize()
- Overrides:
initialize
in class genDevs.modeling.atomic
deltint
public void deltint()
- Overrides:
deltint
in class genDevs.modeling.atomic
deltext
public void deltext(double e,
genDevs.modeling.MessageInterface x)
- Overrides:
deltext
in class genDevs.modeling.atomic
deltcon
public void deltcon(double e,
genDevs.modeling.MessageInterface x)
- Overrides:
deltcon
in class genDevs.modeling.atomic
Out
public genDevs.modeling.MessageInterface Out()
- Overrides:
Out
in class genDevs.modeling.atomic