public interface IDevs extends INamed
Modifier and Type | Method and Description |
---|---|
default int |
act()
A getter on the model's ability to output things.
|
void |
addInport(String portName)
Add an input Port on the model.
|
void |
addOutport(String portName)
Add an output Port on the model.
|
default void |
deltcon(Double e,
Message x)
The confluent transition function that is called when both internal and
external transitions should happen at the exactly same time.
|
default void |
deltext(Double e,
Message x)
The external transition function that is called when a
Message is received from another model. |
default void |
deltint()
The internal transition function.
|
String |
fullName()
The name of the model and all its parents.
|
void |
initialize()
Initialize the model.
|
default Message |
lambda()
DEVS lambda function that make the state becoming the model's output.
|
ICoupledDevs |
parent()
A getter on the parent model.
|
void |
setParent(ICoupledDevs p)
Set the parent model which is a ICoupledDevs implementation if it
exists.
|
void |
setSimulator(ISimulator si)
Setter of the model's simulator.
|
ISimulator |
simulator()
A getter on the model's simulator.
|
default Double |
ta()
Return the time advance to the next event's occurrence.
|
compareTo
void initialize()
void setParent(ICoupledDevs p)
p
- the model to set as parent form the current model.ISimulator simulator()
void setSimulator(ISimulator si)
si
- the simulator to set as the model's simulator.void addInport(String portName)
portName
- the name of the new input Port.void addOutport(String portName)
portName
- the name of the new output Port.ICoupledDevs parent()
String fullName()
default void deltext(Double e, Message x)
Message
is received from another model.e
- this time correspond to time to wait before the transition
happen.x
- this is the message to be sent at the transition.default void deltcon(Double e, Message x)
e
- this time correspond to time to wait before the transition
happen.x
- this is the message to be sent at the transition.default void deltint()
default Double ta()
default int act()
Copyright © 2017–2019 UniversitĂ© CĂ´te d'Azur, CNRS, I3S. All rights reserved.