
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.CoupledFactoryDevs.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, toStringaddInport, addOutport, compareTo, fullName, makeContent, name, parent, setParent, setSimulatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitact, addInport, addOutport, deltcon, deltext, deltint, fullName, lambda, parent, setParent, setSimulator, tacompareToprotected 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.