SWIM: Small World In Motion

logo-dipartimento

Modeling Human Mobility


"; // echo 'Connected to mysql!'; // echo "

"; mysql_select_db($database) or die('Could not select database'); $query = "INSERT INTO visitors VALUES ('', '$ip', NOW())"; mysql_query($query); mysql_close(); ?>

About SWIM

From this site you can download both the SWIM's source code and some typical mobility SWIM-generated traces that we have used in our papers.
The format of each trace is of the form:

event_time event_type id1 id2 x1 y1 x2 y2

where:

- event_time is measured in seconds and refers to the time on which an event has occurred;
- event_type is either MM (LM) or MP (LP) for respectively meat (leave) while both nodes are in movement or meat (leave) while one of the nodes is not moving;
- id1 is the id of the first node involved;
- id2 is the id of the second node involved;
- x1 y1 (x2 y2) are the coordinates of the first (second) node when the event takes place.

More information on the model can be found on our papers linked here below. If you intend to publish your results based on this simulator or the relative data sets, we appreciate if you cite this website and the publications.

New
SWIM is now part of the Opportunistic Network Environment simulator.

Note: If you know other uses or implementations of SWIM tell us to add the link here.


Downloads

The source code of SWIM simulator can be downloaded here.
This implementation is the scaled version of SWIM which is explained in the SWIM Journal paper.
Inside the project you can find a Readme file with instructions on how to use the simulator or you can click here to read it online.


Synthetic traces

The Cambridge 2006 scenario: 36 iMotes distributed to two groups of students (Year1 and Year2) of the University of Cambridge and were programmed to log contacts of all visible mobile devices for 11 days. Details of the experiment can be found on the CRAWDAD website.

Config file, Trace - SWIM simulated Cambridge 06 with 36 nodes

Config file, Trace - Phoenix Scaling (Invariant density) of Cambridge 06 experiment with 300 nodes

Config file, Trace - Phoenix Scaling of Cambridge 06 experiment with 500 nodes

Config file, Trace - Phoenix Scaling of Cambridge 06 experiment with 1000 nodes

Config file, Trace - Phoenix Scaling of Cambridge 06 experiment with 2000 nodes

Config file, Trace - Manhattan Scaling (Invariant area) of Cambridge 06 experiment with 180 nodes

Config file, Trace - Manhattan Scaling of Cambridge 06 experiment with 360 nodes

Config file, Trace - Manhattan Scaling of Cambridge 06 experiment with 720 nodes

Config file, Trace - Manhattan Scaling of Cambridge 06 experiment with 1440 nodes


The Infocom 2005 scenario: 41 iMotes were distributed to students attending the Infocom 2005 student workshop. This experiment covers approximately 3 days. Details of the experiment can be found on the CRAWDAD website.

Config file, Trace - SWIM simulated Infocom 05 with 41 nodes

Config file, Trace - Phoenix Scaling (Invariant density) of Infocom 05 experiment with 300 nodes

Config file, Trace - Phoenix Scaling of Infocom 05 experiment with 500 nodes

Config file, Trace - Phoenix Scaling of Infocom 05 experiment with 1000 nodes

Config file, Trace - Phoenix Scaling of Infocom 05 experiment with 2000 nodes

Config file, Trace - Manhattan Scaling (Invariant area) of Infocom 05 experiment with 205 nodes

Config file, Trace - Manhattan Scaling of Infocom 05 experiment with 410 nodes

Config file, Trace - Manhattan Scaling of Infocom 05 experiment with 820 nodes

Config file, Trace - Manhattan Scaling of Infocom 05 experiment with 1640 nodes


The Infocom 2006 scenario: this experiment was similar to Infocom 05 except that the scale is larger, 78 participants, and covers 3 days. Details of the experiment can be found on the CRAWDAD website.

Config file, Trace - SWIM simulated Infocom 06 with 78 nodes

Config file, Trace - Phoenix Scaling (Invariant density) of Infocom 06 experiment with 300 nodes

Config file, Trace - Phoenix Scaling of Infocom 06 experiment with 500 nodes

Config file, Trace - Phoenix Scaling of Infocom 06 experiment with 1000 nodes

Config file, Trace - Phoenix Scaling of Infocom 06 experiment with 2000 nodes

Config file, Trace - Manhattan Scaling (Invariant area) of Infocom 06 experiment with 390 nodes

Config file, Trace - Manhattan Scaling of Infocom 06 experiment with 780 nodes

Config file, Trace - Manhattan Scaling of Infocom 06 experiment with 1560 nodes

Config file, Trace - Manhattan Scaling of Infocom 06 experiment with 3120 nodes

top

Related Publications

S. Kosta, A. Mei and J. Stefa, "Large-Scale Synthetic Social Mobile Networks with SWIM", In IEEE Transactions on Mobile Computing 2013.
[BibTex]

S. Kosta, A. Mei and J. Stefa, "Small World in Motion (SWIM): Modeling Communities in Ad-Hoc Mobile Networking", In Proceedings of The 7th IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks (SECON 2010), Boston, MA, U.S.A., June 2010.
[BibTex]

A. Mei and J. Stefa. "SWIM: A simple model to generate small mobile worlds", In Proceedings of The 28th IEEE Conference on Computer Communications (INFOCOM 2009), pages 2106-2113, Rio de Janeiro, Brazil, April 2009.
[BibTex]

top

Contact

For questions and/or suggestions please write to:

Sokol Kosta

Sokol Kosta

Email: kosta[at]di.uniroma1.it

Website: http://sites.google.com/site/sokolkosta

Julinda Stefa

Julinda Stefa

Email: stefa[at]di.uniroma1.it

Website: http://julinda.stefa.googlepages.com

Alessandro Mei

Alessandro Mei

Email: mei[at]di.uniroma1.it

Website: http://wwwusers.di.uniroma1.it/~mei/sitoweb/Home.html

top

Valid XHTML 1.0 Strict    Valid CSS!