| Name | Description |
|---|---|
| MoBANLocal (simple module) |
This is the local mobility module of MoBAN. It should be instantiated in each node that belongs to a WBAN. The NED parameter "coordinatorIndex" determine to which WBAN (MoBANCoordinator) it belongs. The current implementation uses the Random Walk Mobility Model (RWMM) for individual (local) movement with a sphere around the node, with given speed and sphere radius of the current posture. The reference point of the node it the current posture, the sphere radius, and the speed is given by the corresponding coordinator through the blackboard. RWMM determines the location of node at ant time relative to the given reference point. |
package org.mixim.modules.mobility; //*************************************************************************** //* file: MoBANLocal.ned //* //* author: Majid Nabi <m.nabi@tue.nl> //* //* http://www.es.ele.tue.nl/nes //* //* //* copyright: (C) 2010 Electronic Systems group(ES), //* Eindhoven University of Technology (TU/e), the Netherlands. //* //* //* This program is free software; you can redistribute it //* and/or modify it under the terms of the GNU General Public //* License as published by the Free Software Foundation; either //* version 2 of the License, or (at your option) any later //* version. //* For further information see file COPYING //* in the top level directory //*************************************************************************** //* part of: MoBAN (Mobility Model for wireless Body Area Networks) //* description: Local module of the MoBAN mobility model //*************************************************************************** //* Citation of the following publication is appreciated if you use MoBAN for //* a publication of your own. //* //* M. Nabi, M. Geilen, T. Basten. MoBAN: A Configurable Mobility Model for Wireless Body Area Networks. //* In Proc. of the 4th Int'l Conf. on Simulation Tools and Techniques, SIMUTools 2011, Barcelona, Spain, 2011. //* //* BibTeX: //* @inproceedings{MoBAN, //* author = "M. Nabi and M. Geilen and T. Basten.", //* title = "{MoBAN}: A Configurable Mobility Model for Wireless Body Area Networks.", //* booktitle = "Proceedings of the 4th Int'l Conf. on Simulation Tools and Techniques.", //* series = {SIMUTools '11}, //* isbn = {978-963-9799-41-7}, //* year = {2011}, //* location = {Barcelona, Spain}, //* publisher = {ICST} } //* //**************************************************************************/ import org.mixim.base.modules.BaseMobility; // This is the local mobility module of MoBAN. It should be instantiated in each node that belongs to a WBAN. The NED parameter "coordinatorIndex" // determine to which WBAN (MoBANCoordinator) it belongs. // The current implementation uses the Random Walk Mobility Model (RWMM) for individual (local) movement with a sphere around the node, with given speed // and sphere radius of the current posture. The reference point of the node it the current posture, the sphere radius, and the speed is given by the // corresponding coordinator through the blackboard. RWMM determines the location of node at ant time relative to the given reference point. simple MoBANLocal extends BaseMobility { parameters: @class(MoBANLocal); bool debug; // debug switch double updateInterval @unit(s); // Time interval to update the hosts position (seconds) int coordinatorIndex; // The index of the belonging coordinator module }