<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <article-id pub-id-type="doi">10.18287/1613-0073-2015-1490-219-226</article-id>
      <title-group>
        <article-title>Simulation of DTN nodes' mobility using least action principle for locations selection</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Privalov A.Yu.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tsarev A.A.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Samara State Aerospace University</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2015</year>
      </pub-date>
      <fpage>219</fpage>
      <lpage>226</lpage>
      <abstract>
        <p>Three modifications of mobility model of DTN's nodes are presented. These modifications are based on the Levy mobility model. Flight length of DTN nodes inside some locations (hot spots) is a random value with the Levy probability distribution function. Between locations the nodes can move differently. In the first modification nodes walk between different locations randomly; in the second modification nodes walk between locations using the least action principle; and in the third modification each node chooses the next location according to a limiting number of possible visits. These modifications are implemented in the Omnet++ simulation environment. This paper presents an experimental results of DTN nodes' movements modeling, and comparison of these results with real nodes movements data.</p>
      </abstract>
      <kwd-group>
        <kwd>mobility model</kwd>
        <kwd>Levy probability distribution function</kwd>
        <kwd>selfsimilarity</kwd>
        <kwd>OMNET++</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>MANET is a continuously self-configuring, infrastructure-less network of mobile
devices connected without wires. Each device can move independently in any
direction, so it often breaks off and establish connection. Delay-Tolerant Networking
(DTN) is an approach for constructing of network architecture for heterogeneous
network that may lack continuous network connectivity. In this context, delay means
time loosing occurred in transitive nodes or generated by low channel bandwidth.</p>
      <p>For the aim of routing on the network layer, it used special protocols oriented on
dynamic networks: reactive (AODV, DSR, etc.) and proactive (OLSR, etc.).
Preferences for a particular type of protocols may be given only in view of real
situation and velocity of subscribers. People often carries wireless devices, so
understanding human mobility patterns contributes for more accurate performance
modeling and for more predictable protocols used for these networks.</p>
      <p>
        Widely used mobility models in research of the computer networking are random
waypoint [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], random walk models [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], such as model of Brownian motion or
Markovian mobility [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. These models are simple enough for theoretical treatment
and, at the same time, are simple for emulating in the simulation environment in a
scalable manner. However, the adequacy and accuracy of these mobility models is
still the subject of research, and the problem of building adequate mobility models is
very important and urgent.
      </p>
      <p>
        In this paper we construct the modification of mobility model Truncated Levy
Walk [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and study the effectiveness of each movement simulation model.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Levy mobility model</title>
      <p>
        To analyze the performance of mobile networks, as mentioned above, different
mobility patterns are used. In the proposed mobility model, well-known Levy
Mobility Model [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] plays an important role, so further we shortly remind a
mathematical description of this model and an application to the people mobility.
      </p>
      <p>Let a flight be the longest straight transition of node from one location to another
without changing direction or pause. The path, built of successive movements will be
called route.</p>
      <p>
        To simulate the mobility on a confined area a truncated distribution (TLW –
Truncated Levy Walk), based on a truncated Pareto distribution for the length of the
movement and pause time interval is often used [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ]. This truncated distribution is
used instead of simple Levy distribution, based on a normal distribution of Pareto.
The Levy distribution itself with the normalizing factor c and the exponent  in
terms of the Fourier transform looks as [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]:
f X (x)  1  exp itx  ct   dt . (1)
2 
      </p>
      <p>In the model it is assumed that the node performs its flights based on a given
distribution function for the length of Levy flight and for the duration of the pause
following the jump, with coefficients c , and c , , respectively – these are
parameters of the model. It needs to define these settings for simulations, because
they will fit the artificial route closer to the real one in a statistical manner.</p>
      <p>
        As shown in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], the average speed of movement of people is not constant, and
can be expressed by the following relationship between the duration of the flight and
its length:
t f  kl1 , 0    1,
where k and  some constants, l – flight length, t f – time duration of flight.
      </p>
    </sec>
    <sec id="sec-3">
      <title>2.1. Levy walks for short distances and flights between locations</title>
      <p>
        Real traces are recorded using GPS sensors carried by the participants of the
experiment. Some of these data is available in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The data in these traces are a set of
records "time – place position". As mentioned in [
        <xref ref-type="bibr" rid="ref5 ref6 ref9">5, 6, 9</xref>
        ], the processing of these data
shows that the Levy mobility model describes well the movements of people only for
short distances.
(2)
      </p>
      <p>
        According to [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], we also call waypoint a circle of radius R = 5 m, in which a
person holds on more than T = 30 sec. The position of a waypoint is a position of the
center of this circle. Waypoints are determined from the real traces of people.
      </p>
      <p>This "aggregating" procedure produces a consistent set of waypoints for a more
precise definition of the relocation fact of one person. So all positions in the circle for
the specified time threshold are took as a point at which person spent time. The radius
and the threshold time are determined based on a typical user behavior. After that,
there is determined the visited location – rectangular clusters combine similar points.
Locations are transitive closure of points placed from each other at a distance of 100
m. These locations outline typical regions of the cluster of users. From real source
traces, numerical estimates of the probability distribution function for the length
between waypoints in the same location and pause time in them are obtained.
Parameters c , and c , are determined from this distributions. These
parameters will be used to simulate the users’ movements within a single location.</p>
      <p>Our mobility model (in all modifications), organized as follows: the movement of
the node begins at a random location and hold on there according to the Levy mobility
model until the next flight gets out the node of the location. After that, the cornering
procedure tries to keep the node inside location by changing direction of the flight.
This cornering procedure is carried out in a way saved flight length to not spoil it’s
probability distribution function. If this procedure failed, then node selects the next
location.</p>
      <p>In the first modification of the model next location is selected in a random manner
and each location can be selected only once.
p j 
kV V '</p>
      <p>1 diak ,</p>
    </sec>
    <sec id="sec-4">
      <title>2.2. Levy mobility model with the LATP algorithm</title>
      <p>These movements are fully consistent with the previous movements, in terms of
generation regular flights and pauses, but differs in terms of the choice of another
location.</p>
      <p>
        Movements of people depend on the selection of the next waypoint. Many factors
play a role in this choice. Everyone has different factors and personal situation, so it is
almost impossible to get an algorithm that takes into account all of these factors.
Work [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] shows the selection of the next location is strongly dependents on the
current location. The principle of least action of Maupertuis in this case may provide
some explanation: people tend to perform actions that require the least effort. Due to
this it is possible to introduce an algorithm which reflects this trend to select the next
location (out of the previously known set), depending on the distance to it. This
algorithm is called Least Action Trip Planning (LATP).
      </p>
      <p>We describe this algorithm below. While the current location is i , the set of all
locations is V , then the probability of selecting the next location with number j is
calculated as follows:</p>
      <p>1 diaj
(3)
real variable with values in the range 0;  , and V ' – a set of locations from V ,
that have already visited.</p>
    </sec>
    <sec id="sec-5">
      <title>2.3. Levy mobility model with the LATP algorithm and possible plural visits of location</title>
      <p>
        This version is almost completely corresponds to the previous model, except for
the possibility to choose of previously visited location. Experimental analysis of
userproduced traces in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] shown that people are also returning to the previously visited
location. That was not considered in the model [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. So, in our third modification, the
number of visits of all previously defined locations obtained from real traces is used
to provide simulation with this information. All traces are analyzed before simulation
and compiled a histogram frequency of visits for each location.
      </p>
    </sec>
    <sec id="sec-6">
      <title>3. Modeling</title>
      <p>
        For experimental studies of these modifications of the mobility model, they have
been implemented in the simulation environment OMNeT ++ using INET framework.
The simulation results are artificially generated traces of human mobility. They pass
through the same analysis as the real traces to obtain numerical estimates of the
probability distribution function of the flight lengths and pauses. Below we present
some results of experiments based on real traces of KAIST’s and NCSU’s campuses
[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>The simulation parameters are: and for the flight length,
and for the pause time. Duration of simulation is 2 days of model time (or
172800 model seconds). The area of simulation is the same as for the original traces.</p>
      <p>The results of the simulation of our first modification for the complementary
cumulative distribution function can be seen on the Figure 1. By definition,
cumulative distribution function has form:
F  x  P  X  x  1 F  x .</p>
      <p>The results of the simulation of Levy mobility with LATP algorithm (our second
modification) for complementary cumulative distribution function (4) are shown on
Figure 2.</p>
      <p>Figure 2 shows that the overall shape of the graphs became much closer than on
Figure 1, which indicates that the second modification of the mobility model closer
captures the statistical features. However quantitative differences remain. As you can
see, part of the graph, which corresponds to movements between locations has been
improved, and it indicates the advantages of the LATP algorithm.</p>
      <p>The results of the simulation of Levy mobility model with LATP algorithm and
possible plural visits of location (our third modification) are shown on Figure 3.</p>
      <p>Figure 3 shows the shapes of the graphs even closer, compared with the previous
model modifications. It indicates a best adequacy of this last model modification.</p>
    </sec>
    <sec id="sec-7">
      <title>4. Conclusion</title>
      <p>Three modification of mobility model of nodes are implemented: TLW mobility
model using just information about crowd of people on the real terrain (visited
locations), and then the same model with an LATP algorithm for selection of a next
location, and the same model with the LATP algorithm with possible plural visits of
location. The comparison of the simulation results with the real traces are presented.</p>
      <p>
        Presented model with its all modifications are easy to implement and should be
more efficient than other popular models (e.g. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]). We plan to develop a better
selection algorithm for the next location by using information about the history of the
movements of a real people. As we hope, this will bring the simulation even closer to
the real life.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bettstetter</surname>
            <given-names>C</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Resta</surname>
            <given-names>G</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santi</surname>
            <given-names>P.</given-names>
          </string-name>
          <article-title>The node distribution of the random waypoint mobility model for wireless ad hoc networks</article-title>
          .
          <source>IEEE Transactions on Mobile Computing</source>
          ,
          <year>2003</year>
          ;
          <volume>2</volume>
          (
          <issue>3</issue>
          ):
          <fpage>257</fpage>
          -
          <lpage>269</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Camp</surname>
            <given-names>T</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boleng</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davies</surname>
            <given-names>V.</given-names>
          </string-name>
          <article-title>A survey of mobility models for ad hoc network research</article-title>
          .
          <source>Wireless Communications and Mobile Computing</source>
          ,
          <year>2002</year>
          ;
          <volume>2</volume>
          (
          <issue>5</issue>
          ):
          <fpage>483</fpage>
          -
          <lpage>502</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bettstetter</surname>
            <given-names>C</given-names>
          </string-name>
          .
          <article-title>Mobility modeling in wireless networks: Categorization, smooth movement, and border effects</article-title>
          .
          <source>Mobile Computing and Communications Review</source>
          ,
          <year>2001</year>
          ;
          <volume>5</volume>
          (
          <issue>3</issue>
          ):
          <fpage>55</fpage>
          -
          <lpage>66</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Privalov</surname>
            <given-names>AYu</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tsarev</surname>
            <given-names>AA</given-names>
          </string-name>
          .
          <article-title>The DTN nodes' mobility model based on Levy distribution function. Advanced information technologies</article-title>
          .
          <source>Samara: Publisher Samara Scientific Center RAS</source>
          ,
          <year>2015</year>
          ;
          <volume>2</volume>
          :
          <fpage>30</fpage>
          -
          <lpage>34</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Rhee</surname>
            <given-names>I</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shin</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hong</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            <given-names>K</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kim</surname>
            <given-names>SJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chong</surname>
            <given-names>S.</given-names>
          </string-name>
          <article-title>On the Levy-Walk Nature of Human Mobility</article-title>
          . IEEE/ACM Transactions on Networking,
          <year>2011</year>
          ;
          <volume>19</volume>
          (
          <issue>3</issue>
          ):
          <fpage>630</fpage>
          -
          <lpage>643</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Lee</surname>
            <given-names>K</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hong</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kim</surname>
            <given-names>SJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rhee</surname>
            <given-names>I</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chong</surname>
            <given-names>S. SLAW</given-names>
          </string-name>
          :
          <string-name>
            <surname>Self-Similar</surname>
          </string-name>
          Least
          <article-title>-Action Human Walk</article-title>
          . IEEE/ACM Transactions on Networking,
          <year>2012</year>
          ;
          <volume>20</volume>
          (
          <issue>2</issue>
          ):
          <fpage>515</fpage>
          -
          <lpage>529</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Shlesinger</surname>
            <given-names>MF</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaslavsky</surname>
            <given-names>GM</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klafter</surname>
            <given-names>J.</given-names>
          </string-name>
          <article-title>Levy dynamics of enhanced diffusion: Application to turbulence</article-title>
          .
          <source>Physical Review Letters</source>
          ,
          <year>1987</year>
          ;
          <volume>58</volume>
          :
          <fpage>1100</fpage>
          -
          <lpage>1103</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Kotz</surname>
            <given-names>D.</given-names>
          </string-name>
          <article-title>Community Resource for Archiving Wireless Data at Dartmouth</article-title>
          . Dartmouth College. Source: &lt;http://www.crawdad.org/index.html&gt;.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Lee</surname>
            <given-names>K</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hong</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kim</surname>
            <given-names>SJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rhee</surname>
            <given-names>I</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chong</surname>
            <given-names>S. Demystifying</given-names>
          </string-name>
          <article-title>Levy Walk Patterns in Human Walks</article-title>
          .
          <source>NCSU/CSC: Technical Reports</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>