public interface ICoordinator extends IAtomicSimulator
Modifier and Type | Method and Description |
---|---|
void |
addCoordinator(ICoupledDevs d)
Add a coordinator to the given coupled model.
|
void |
addExtPair(Map.Entry<INamed,Port> cs,
Map.Entry<INamed,Port> cd)
Add an external pairing, that is to say a pairing from an external
model and its Port to this model and a given Port.
|
MultiMap<INamed,IContent> |
convertInput(Message x)
Converts an input to a map of model names to contents.
|
Set<ICoordinator> |
coordinators()
The set of coordinators in use in this simulation and under the level
of this coordinator.
|
Set<ICoordinator> |
getAllCoordinators()
A getter to the coordinators under this coordinator.
|
Set<IAtomicSimulator> |
getAllSimulators()
A getter to the simulators (no coordinators) under this coordinator.
|
Map<INamed,IAtomicSimulator> |
internalModelToSim()
A getter to a dictionary to link the atomic models under the coupled
model associated with this coordinator, and their simulator.
|
void |
routeInMessages()
Route the messages coming from the outside of this model into this
model.
|
Set<IAtomicSimulator> |
simulators()
The set of all the simulators in use in this simulation and under the
level of this coordinator.
|
void |
tellAllRouteInMessages()
Tells all sub coordinators to route their input messages.
|
addImmDelt, addInInputMessage, addInOutputMessage, addPair, computeOutput, convertMsg, inputMessage, nextTN, outputMessage, parent, rootParent, routeOutMessages, scheduler, setModelsToSimulate, setParent, setRootParent
deltFunc, deltFunc, initialize, initialize, model, simInject, simulate, timeAdvance, tL, tN
compareTo
Map<INamed,IAtomicSimulator> internalModelToSim()
Set<IAtomicSimulator> simulators()
Set<ICoordinator> coordinators()
void addExtPair(Map.Entry<INamed,Port> cs, Map.Entry<INamed,Port> cd)
cs
- the source of the pairing.cd
- the destination of the pairing.MultiMap<INamed,IContent> convertInput(Message x)
x
- an input message.void routeInMessages()
Set<IAtomicSimulator> getAllSimulators()
Set<ICoordinator> getAllCoordinators()
void addCoordinator(ICoupledDevs d)
d
- the coupled model.void tellAllRouteInMessages()
Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.