public interface ICoupledDevs extends IDevs
Modifier and Type | Method and Description |
---|---|
void |
add(IDevs d)
Add a new Devs model (atomic or coupled) into the Devs coupled model
|
void |
addCoupling(IDevs src,
String p1,
IDevs dest,
String p2)
Add a new coupling relation between internal model or between the
coupled model and its internals models.
|
Map<String,IDevs> |
componentDictionary()
Getter on a dictionary that associates all internal models to their
names.
|
Set<IDevs> |
components()
Getter on the unordered_set (~java HashSet) that contains all internal
models.
|
MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> |
couplingInfo()
Getter on the multi-map that contains all coupling relation that is to
say associate a pair model/port to
another.
|
void |
setSimulator(ICoordinator sim)
Setter on the model's simulator.
|
act, addInport, addOutport, deltcon, deltext, deltint, fullName, initialize, lambda, parent, setParent, setSimulator, simulator, ta
compareTo
Set<IDevs> components()
MultiMap<Map.Entry<INamed,Port>,Map.Entry<INamed,Port>> couplingInfo()
void setSimulator(ICoordinator sim)
sim
- The new model's simulator.Map<String,IDevs> componentDictionary()
void add(IDevs d)
d
- The new Devs modelvoid addCoupling(IDevs src, String p1, IDevs dest, String p2)
src
- The source model (internal model output or coupled model
input).p1
- The source model's port name.dest
- The recipient model (internal model input or coupled model
output).p2
- The recipient model's port name.Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.