public class SimpleCoupledModel extends CoupledDevs
SimpleAtomic
) connected together and to this coupled
model.
The simulation starts when a Message is received by this coupled model, which transmits it to one of its atomic model.
Modifier and Type | Class and Description |
---|---|
static class |
SimpleCoupledModel.SCMFactory
The Factory of this coupled model.
|
CoupledDevs.CoupledFactory
Devs.DevsFactory
_componentDictionary, _components, _couplingInfo
_inputMessage, _inputPorts, _name, _output, _outputPorts, _parent, _simulator
Modifier | Constructor and Description |
---|---|
protected |
SimpleCoupledModel(String name)
Creates a new model with the passed name.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Instantiates this coupled model and makes a simulation of it for 10
different event times.
|
add, addCoupling, addPair, componentDictionary, components, couplingInfo, initialize, setSimulator, simulator, toString
addInport, addOutport, compareTo, fullName, makeContent, name, parent, setParent, setSimulator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
act, addInport, addOutport, deltcon, deltext, deltint, fullName, lambda, parent, setParent, setSimulator, ta
compareTo
protected SimpleCoupledModel(String name)
name
- The name of the new instance.public static void main(String[] args)
Message
in the system at t = 0.0.
At the end of the simulation the content of the coupled model is
displayed at the top level.args
- unused.Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.