|
OverSim
|
Random churn generating class. More...
#include <RandomChurn.h>
Public Member Functions | |
| void | handleMessage (cMessage *msg) |
| void | initializeChurn () |
| ~RandomChurn () | |
Public Member Functions inherited from ChurnGenerator | |
| virtual int | numInitStages () const |
| virtual void | initialize (int stage) |
| void | setNodeType (const NodeType &t) |
| const NodeType & | getNodeType () |
Protected Member Functions | |
| void | updateDisplayString () |
Private Attributes | |
| double | creationProbability |
| probability of creating a new overlay terminal | |
| double | migrationProbability |
| probability of migrating an overlay terminal | |
| double | removalProbability |
| probability of removing an overlay terminal | |
| double | initialMean |
| mean of update interval during initalization phase | |
| double | initialDeviation |
| deviation of update interval during initalization phase | |
| double | targetMean |
| mean of update interval after initalization phase | |
| double | targetOverlayTerminalNum |
| number of created terminals after init phase | |
| cMessage * | churnTimer |
| message to change the churn rate | |
| cMessage * | mobilityTimer |
| message to schedule events | |
| bool | churnIntervalChanged |
| indicates if targetMean changed. | |
| double | churnChangeInterval |
| churn change interval | |
| bool | initAddMoreTerminals |
| true, if we're still adding more terminals in the init phase | |
| GlobalStatistics * | globalStatistics |
Additional Inherited Members | |
Public Attributes inherited from ChurnGenerator | |
| bool | init |
| still in initialization phase? | |
| int | terminalCount |
| current number of overlay terminals | |
Protected Attributes inherited from ChurnGenerator | |
| UnderlayConfigurator * | underlayConfigurator |
| int | targetOverlayTerminalNum |
| final number of overlay terminals | |
| NodeType | type |
| the nodeType this generator is responsible for | |
Random churn generating class.
Definition at line 33 of file RandomChurn.h.
| RandomChurn::~RandomChurn | ( | ) |
Definition at line 133 of file RandomChurn.cc.
|
virtual |
Implements ChurnGenerator.
Definition at line 66 of file RandomChurn.cc.
|
virtual |
Implements ChurnGenerator.
Definition at line 35 of file RandomChurn.cc.
|
protectedvirtual |
Implements ChurnGenerator.
Definition at line 126 of file RandomChurn.cc.
|
private |
churn change interval
Definition at line 54 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
indicates if targetMean changed.
Definition at line 53 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
message to change the churn rate
Definition at line 51 of file RandomChurn.h.
Referenced by handleMessage(), initializeChurn(), and ~RandomChurn().
|
private |
probability of creating a new overlay terminal
Definition at line 44 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
Definition at line 57 of file RandomChurn.h.
Referenced by initializeChurn().
|
private |
true, if we're still adding more terminals in the init phase
Definition at line 55 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
deviation of update interval during initalization phase
Definition at line 48 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
mean of update interval during initalization phase
Definition at line 47 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
probability of migrating an overlay terminal
Definition at line 45 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
message to schedule events
Definition at line 52 of file RandomChurn.h.
Referenced by handleMessage(), initializeChurn(), and ~RandomChurn().
|
private |
probability of removing an overlay terminal
Definition at line 46 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
mean of update interval after initalization phase
Definition at line 49 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().
|
private |
number of created terminals after init phase
Definition at line 50 of file RandomChurn.h.
Referenced by handleMessage(), and initializeChurn().