File: Underlay/SimpleUnderlay/SimpleNetConfigurator.ned
C++ definition: click here
Configurator of the SimpleUnderlay
Sets up a SimpleNetwork, adds overlay nodes to the network in init phase periodically with the interval set by "initalMobilityDelay", adds/removes/migrates overlay nodes after init phase periodically with the interval set by targetMobilityDelay with the probabilities defined by the parameters creationProbability, removalProbability, and migrationProbability
The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.
If a module type shows up more than once, that means it has been defined in more than one NED file.
SimpleUnderlay | The SimpleUnderlay ned-file See also: SimpleNetConfigurator |
Name | Type | Description |
---|---|---|
terminalTypes | string | list of terminal types |
fieldSize | numeric | maximum x/y-coordinate for nodes |
nodeCoordinateSource | string | name of xml-file with coordinates of nodes |
channelTypes | string | ignored but must be set, needed by base class |
sendQueueLength | numeric | send-queue length in bytes (0 = infinite) |
gracefulLeaveDelay | numeric | time between prekill and removal from overlay |
gracefulLeaveProbability | numeric | probability of gracefull leave |
churnGeneratorTypes | string | a list of churn generators to be used |
transitionTime | numeric | time to wait before measuring after init phase is finished |
measurementTime | numeric | duration of the simulation after init and transition phase |
fixedNodePositions | bool | put nodes on fixed coordiantes in playground |
simple SimpleNetConfigurator parameters: terminalTypes: string, // list of terminal types fieldSize : numeric, // maximum x/y-coordinate for nodes nodeCoordinateSource: string, // name of xml-file with coordinates // of nodes channelTypes : string, // ignored but must be set, needed by // base class sendQueueLength : numeric, // send-queue length in bytes // (0 = infinite) gracefulLeaveDelay : numeric, // time between prekill and removal // from overlay gracefulLeaveProbability : numeric, // probability of gracefull leave churnGeneratorTypes : string, // a list of churn generators to be // used transitionTime : numeric, // time to wait before measuring // after init phase is finished measurementTime : numeric, // duration of the simulation after // init and transition phase fixedNodePositions : bool; // put nodes on fixed coordiantes in // playground endsimple