|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
EDProtocol<T> | The interface to be implemented by protocols run under the event-driven model. |
PriorityQ | The interface to be implemented by the event queue of the evend based engine. |
Class Summary | |
---|---|
CDScheduler | Schedules the first execution of the cycle based protocol instances in the event driven engine. |
EDSimulator | Event-driven simulator engine. |
Heap | The Heap data structure used to maintain events "sorted" by scheduled time and to obtain the next event to be executed. |
NextCycleEvent | This class is used to wrap a CDProtocol instance into an event so
that it can be used in the event based simulation engine. |
PriorityQ.Event | Return type of PriorityQ.removeFirst() . |
RandNextCycle | Implements random delay between calling the nextCycle method of the protocol. |
RegRandNextCycle | Implements a random delay, but making sure there is exactly one call in each
consecutive step time units. |
The event-driven simulator.
A good point to start browsing is EDSimulator
.
Class CDScheduler
is also interesting as it represents
a bridge between package peersim.cdsim
and this package.
Finally, check out peersim.transport
too as it is very
useful for defining the transport layer, that defines delays, omissions, etc.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |