|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectadevs.Devs
adevs.Network
public abstract class Network
This is the base class for all Network (coupled) models.
Constructor Summary | |
---|---|
Network()
|
Method Summary | |
---|---|
abstract void |
getComponents(java.util.Collection<Devs> c)
The collection must be Fill with Network's components. |
abstract void |
route(java.lang.Object x,
Devs model,
java.util.Collection<Event> r)
Route events coming into to the model or being produced by one of its components. |
Methods inherited from class adevs.Devs |
---|
getNativePeer, model_transition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Network()
Method Detail |
---|
public abstract void getComponents(java.util.Collection<Devs> c)
c
- Empty collection to fill with the Network's componentspublic abstract void route(java.lang.Object x, Devs model, java.util.Collection<Event> r)
x
- The value of the event to be routedmodel
- The source of the eventr
- An empty collection to be filled with (target,value) pairsEvent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |