This network is exactly the same as baseNetwork existing among the examples of MiXiM, but the desired number of MoBAN coordinator modules have been added. Some nodes of type BaseNode use MoBANLocal module as their mobility module. Then those nodes will be considered as WBAN nodes. Those node have a parameter named "coordinatorIndex" that determines to which WBAN (coordinator) the node belongs.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Default value | Description |
---|---|---|---|
numNodes | double |
total number of nodes in the network, either ordinary nodes or WBAN nodes |
|
numMoBAN | int |
total number of MoBAN coordinators (WBAN instances) |
Name | Value | Description |
---|---|---|
isNetwork | ||
display | bgb=1000,1000,white;bgp=0,0 |
Name | Type | Default value | Description |
---|---|---|---|
coordinator.coordinateSystemModule | string | "" |
module path of the geographic coordinate system module |
coordinator.visualizeMobility | bool | true |
false means this mobility module does no visualization |
coordinator.visualRepresentation | string | "^" |
determines the module that is moved by this mobility |
coordinator.constraintAreaMinX | double | -1m/0 |
min x position of the constraint area, unconstrained by default (negative infinity) |
coordinator.constraintAreaMinY | double | -1m/0 |
min y position of the constraint area, unconstrained by default (negative infinity) |
coordinator.constraintAreaMinZ | double | -1m/0 |
min z position of the constraint area, unconstrained by default (negative infinity) |
coordinator.constraintAreaMaxX | double | 1m/0 |
max x position of the constraint area, unconstrained by default (positive infinity) |
coordinator.constraintAreaMaxY | double | 1m/0 |
max y position of the constraint area, unconstrained by default (positive infinity) |
coordinator.constraintAreaMaxZ | double | 1m/0 |
max z position of the constraint area, unconstrained by default (positive infinity) |
coordinator.updateInterval | double | 0.1s |
the simulation time interval used to regularly signal mobility state changes and update the display |
coordinator.postureSpecFile | xml |
The input file that includes the specification of all postures |
|
coordinator.configFile | xml |
The configuration file for setting probability vectors, distributions and correlations |
|
coordinator.useMobilityPattern | bool |
Set if the logged mobility pattern is used. |
|
coordinator.mobilityPatternFile | string |
The input file for mobility pattern if it is going to be used. |
// // This network is exactly the same as baseNetwork existing among the examples of MiXiM, but the desired number of MoBAN coordinator modules have been added. // Some nodes of type BaseNode use MoBANLocal module as their mobility module. Then those nodes will be considered as WBAN nodes. // Those node have a parameter named "coordinatorIndex" that determines to which WBAN (coordinator) the node belongs. // network MoBANNetwork { parameters: double numNodes; // total number of nodes in the network, either ordinary nodes or WBAN nodes int numMoBAN; // total number of MoBAN coordinators (WBAN instances) @display("bgb=1000,1000,white;bgp=0,0"); submodules: node[numNodes]: MobileHost { parameters: @display("b=8,8,oval,red,,"); } coordinator[numMoBAN]: MoBANCoordinator { parameters: @display("i=block/wheelbarrow"); } }