Network MobileNet

Package: inet.examples.adhoc.mobility
File: examples/adhoc/mobility/MobileNet.ned

(no description)

PlainMobilityHost ChannelControl ScenarioManager

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters:

Name Type Default value Description
numHosts int
playgroundSizeX double
playgroundSizeY double

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
channelcontrol.coreDebug bool false

debug switch for core framework

channelcontrol.pMax double 20mW

maximum sending power used for this network (in mW)

channelcontrol.sat double -110dBm

signal attenuation threshold (in dBm)

channelcontrol.alpha double 2

path loss coefficient

channelcontrol.carrierFrequency double 2.4GHz

carrier frequency of the channel (in Hz)

channelcontrol.numChannels int 1

number of radio channels (frequencies)

scenarioManager.script xml

Source code:

network MobileNet
{
    parameters:
        int numHosts;
        double playgroundSizeX;
        double playgroundSizeY;
    submodules:
        host[numHosts]: PlainMobilityHost {
            parameters:
                @display("p=300,300;r=,,#707070");
        }
        channelcontrol: ChannelControl {
            parameters:
                playgroundSizeX = playgroundSizeX;
                playgroundSizeY = playgroundSizeY;
                @display("p=60,50");
        }
        scenarioManager: ScenarioManager {
            parameters:
                @display("p=150,50");
        }
}