I was reading some tutorial of One simulator. I got one syntax that is
group.nodeLocation = 100,100
As far as I know a group can have multiple nodes. Therefore, I am not clear what does it mean by group.nodeLocation. Which node location we are fixing by using this command.
Thanks,
It depends on which kind of movement models you use.
Setting
group.nodeLocationis required for StationaryMovement, but for other dynamic movement modes (e.g., RandomWaypoint) is meaningless.If you want to set multiple nodes N with different location, you should separate it into N groups.
In speaking of adding static nodes in bulk, use
MapRouterMovementto simulate it. The static node can be regarded as the initioal coordination equals the destination coordination. For instance, 5 static nodes are defined as:And the setting file like:
BTW, don't forget to group the above coordinations as a map file, seeing below: