LEMMA is a mobility simulator based on the theoretical framework with the same name. The theoretical framework
is described in
this paper.
The mobility simulator is discussed in details in our upcoming paper at
CNS 09
- "Creating advanced mobility models with LEMMA".
Please, report any problems you may encounter. Do not hesitate to ask directly your questions.
See the README file.
You can browse the code
here or get it via SVN:
svn checkout https://svnet.u-strasbg.fr/lemma/trunk lemma
Afterwards, you can run the example scenarios from lemma directory:
python2.5 src/scenarios/scenario_runner.py
The supported parameter are:
| -h or --help |
Display the help page. |
| -s or --scenario |
Specify the scenario to execute. Possible scenarios are 1-12. Default is 1. |
| -n or --nodes |
Specify the number of nodes to simulate. Defaults is 10. |
| -d or --duration |
Specify the simulated time duration (in seconds). Default is 1000. |
| -o or --output |
Where to output the resulting traces. Possible values are a directory or the standard output ("-"). Default is -. |
| -f or --format |
Format of the output. Possible values are csv and ns2. Default is csv. |
| -m or --more-data |
Output more (debug) information. This will cause some
additional, layer-decision related information to be
written to the output. |
| -v or --visualize |
Enable 3D visualization module. |
| -j or --jsonrpc-server |
Address or name of host to which to send mobility
information via JSON-RPC. If not set, the JSON-RPC
functionality is not used. |
| -p or --port |
Port of JSON-RPC server. |
Installation
You can install it with setuptools by simply doing:
easy_install https://svnet.u-strasbg.fr/lemma/trunk
Please note, that you should install the VPython package manually.
If for some reason this does not work for you, try installing the following packages manually:
In order to run it you have to install
Python 2.5,
SimPy
NetworkX,
simplejson
(unless you are using Python 2.6 or later) and
jsonpickle. Running a cooperative simulation requires the installation of ns-3-coop
(see
here for more information). If you want to try the 3D visualization you also have to
add the
VPython package.
You can see the development progress via our Trac system
here.
We are currently looking for an additional, dedicated developer for the system, so expect the development process to accelerate
significantly in the comming months.
The code is released under the GPLv3 licence.
If you have any troubles or questions, contact directly Alexander Pelov: pelov at clarinet.u-strasbg.fr.
Example of the 3D visualization module, showing simulation containing 7 zones (the blue rectangles) and 1000 nodes (the green dots):