public interface IAtomicSimulator extends ISimulator
Modifier and Type | Method and Description |
---|---|
void |
addImmDelt(IAtomicSimulator atomicSimulator)
Add a simulator to those who may execute a transition function.
|
void |
addInInputMessage(IContent content)
Add a content into input message.
|
void |
addInOutputMessage(IContent content)
Add a content into output message.
|
void |
addPair(Map.Entry<INamed,Port> cSender,
Map.Entry<INamed,Port> cReceiver)
Add a coupling information.
|
void |
computeOutput(Double t)
Compute model's output message depending on it's state at a given date.
|
MultiMap<INamed,IContent> |
convertMsg(Message x)
Convert a message into a MultiMap.
|
Message |
inputMessage()
Getter on model's input Message.
|
Double |
nextTN()
Return the simulator real next event occurrence date. considering all
internal model in case of coupled model.
|
Message |
outputMessage()
Getter on model's output Message.
|
IAtomicSimulator |
parent()
Getter on the parent simulator in case of coupled model.
|
IAtomicSimulator |
rootParent()
Getter on the top level parent simulator.
|
void |
routeOutMessages()
Route messages into the coupled model from internal models output to
their receivers.
|
IScheduler |
scheduler()
Getter on the simulator's Scheduler.
|
void |
setModelsToSimulate(HashMap<INamed,IAtomicSimulator> modelsToSimulate)
Setter on list of models to simulate into this.
|
void |
setParent(IAtomicSimulator parent)
Setter on the parent simulator.
|
void |
setRootParent(IAtomicSimulator rootParent)
Setter on the top level parent simulator.
|
deltFunc, deltFunc, initialize, initialize, model, simInject, simulate, timeAdvance, tL, tN
compareTo
Message outputMessage()
Message inputMessage()
IAtomicSimulator parent()
void setParent(IAtomicSimulator parent)
parent
- The new parent simulator.IAtomicSimulator rootParent()
void setRootParent(IAtomicSimulator rootParent)
rootParent
- The new top level root parent.void setModelsToSimulate(HashMap<INamed,IAtomicSimulator> modelsToSimulate)
modelsToSimulate
- Models to simulate.IScheduler scheduler()
void addInInputMessage(IContent content)
content
- The content to add into input message.void addInOutputMessage(IContent content)
content
- The content to add into output message.void addImmDelt(IAtomicSimulator atomicSimulator)
atomicSimulator
- The simulator to add.void addPair(Map.Entry<INamed,Port> cSender, Map.Entry<INamed,Port> cReceiver)
cSender
- Pair of strings that represents association between a
model and a port and that sends message to the
receiver.cReceiver
- Pair of strings that represents association between a
model and a port and that receives a message
from the sender.Double nextTN()
void computeOutput(Double t)
t
- The date to which compute output message.void routeOutMessages()
Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.