public class SimpleDigraph extends Network
Constructor and Description |
---|
SimpleDigraph()
Construct a network without components.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Devs model)
Add a model to the network.
|
void |
couple(Devs src,
Devs dst)
Couple the source model to the destination model.
|
void |
getComponents(java.util.Collection<Devs> c)
Puts the network's set of components into c.
|
void |
route(java.lang.Object x,
Devs model,
java.util.Collection<Event> r)
Route an event according to the network's couplings.
|
getNativePeer, model_transition
public void add(Devs model)
model
- The DEVS model that will be a component of the networkpublic void getComponents(java.util.Collection<Devs> c)
getComponents
in class Network
c
- A Collection to which will be added the model's components