Simple Module SimpleNetConfigurator

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

Usage diagram:

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.

Used in compound modules:

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

Parameters:

Name Type Description
overlayTerminalType string

type of overlay terminal

fieldSize numeric

maximum x/y-coordinate for nodes

channelTypes string

ignored but must be set, needed by base class

sendQueueLength numeric

send-queue length in bytes (0 = infinite)

keepFirstNode bool

is the first node allowed to be killed?

gracefullLeaveDelay numeric

time between prekill and removal from overlay

gracefullLeavePropability numeric

propability 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

Source code:

simple SimpleNetConfigurator
	parameters:
        overlayTerminalType : string, // type of overlay terminal
		fieldSize : numeric, // maximum x/y-coordinate for nodes
		channelTypes : string, //ignored but must be set, needed by base class
		sendQueueLength : numeric, // send-queue length in bytes (0 = infinite)
		keepFirstNode : bool,  // is the first node allowed to be killed?
        gracefullLeaveDelay : numeric, // time between prekill and removal from overlay
        gracefullLeavePropability : numeric, // propability 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

endsimple