Artifact Content
Not logged in

Artifact d06a4e4f88f9a68466791844f398dec5353e9472:


<!-- ns-3 doxygen header, based on
     HTML header for doxygen 1.8.3.1
     Verified compatible with 1.8.6
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>ns-3: src/mobility/model/steady-state-random-waypoint-mobility-model.cc Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="ns3_stylesheet.css" rel="stylesheet" type="text/css"/>
    <link href="favicon.ico" rel="shortcut icon" type="image/ico"></link>
    <script type="text/javascript" src="drop-down-menu.js"></script>
    <script type="text/javascript" src="ns3_version.js"></script>
    <script type="text/javascript" src="ns3_links.js"></script>
  </head>
<body>
    <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
      <div id="titlearea">
	<table cellspacing="0" cellpadding="0" width="100%">
	  <tbody>
	    <tr style="height: 56px;">
	      <td id="projectlogo">
		<a id="ns3_home1"
		  href="../index.html">
		  <img alt="ns-3 Logo"
		    src="ns-3-inverted-notext-small.png"/>
		</a>
	      </td>
	      <td id="projecttext">
		<div id="projectbrief">A Discrete-Event Network Simulator</div>
		<span id="projectnumber"><script type="text/javascript">document.write(ns3_version)</script></span>
	      </td>
	      <td id="ns3-menu">
		<div class="menu">
		  <ul >
		    <li><a id="ns3_home2"
			href="../index.html"
			>&nbsp;&nbsp;Home</a>
		    </li>
		    <li><span
			onmouseover="mopen('mTuts')" 
			onmouseout="mclosetime()"
			>Tutorials &nbsp;&#x25BC;</span>
		      <div id="mTuts" 
		        onmouseover="mcancelclosetime()" 
		        onmouseout="mclosetime()">
			<a id="ns3_tut"
			  href="../docs/tutorial/html/index.html"
			  >English</a><br/>
			<a id="ns3_ptbr"
			    href="../docs/tutorial-pt-br/html/index.html"
			    >Portuguese</a><br/>
		    </li>
		    <li><span
			onmouseover="mopen('mDocs')" 
			onmouseout="mclosetime()"
			>Docs &nbsp;&nbsp;&nbsp;&#x25BC;</span>
		      <div id="mDocs"
		        onmouseover="mcancelclosetime()" 
		        onmouseout="mclosetime()">
			<a id="ns3_wiki"
			  href="../wiki.1.html"
			  >Wiki</a><br/>
			<a id="ns3_man"
			    href="../docs/manual/html/index.html"
			    >Manual</a><br/>
			<a id="ns3_mod"
			   href="../docs/models/html/index.html"
			   >Models</a><br/>
		    </li>
		    <li><span
			onmouseover="mopen('mDev')" 
			onmouseout="mclosetime()"
			>Develop &#x25BC;</span>
		      <div id="mDev"
		        onmouseover="mcancelclosetime()" 
		        onmouseout="mclosetime()">
			<a id="ns3_api"
			   href="../docs/doxygen/index.html"
			   >API</a><br/>
			<a id="ns3_bugs"
			   href="../bugzilla/index.html">Bugs</a>
		    </li>
		  </ul>
		</div>
	      </td>
	      <td id="projectsection">
		<span style="margin-right:10px">API</span>
	      </td>
	    </tr>
	  </tbody>
	</table>
	<script  type="text/javascript">ns3_write_links();</script>
      </div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('steady-state-random-waypoint-mobility-model_8cc_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">steady-state-random-waypoint-mobility-model.cc</div>  </div>
</div><!--header-->
<div class="contents">
<a href="steady-state-random-waypoint-mobility-model_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -*- Mode:C++; c-file-style:&quot;gnu&quot;; indent-tabs-mode:nil; -*- */</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (c) 2009 IITP RAS</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * This program is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License version 2 as</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * published by the Free Software Foundation;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * along with this program; if not, write to the Free Software</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * Author: Denis Fakhriev &lt;fakhriev@iitp.ru&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;cmath&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;ns3/simulator.h&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;ns3/double.h&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="steady-state-random-waypoint-mobility-model_8h.html">steady-state-random-waypoint-mobility-model.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;ns3/test.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacens3.html">ns3</a> {</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<a class="code" href="group__object.html#gada1b0bfc04abdba718621b5095c87678">NS_OBJECT_ENSURE_REGISTERED</a> (SteadyStateRandomWaypointMobilityModel);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;TypeId</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a0d2dc8ad7334d901897aa58a8c369b54">   31</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a0d2dc8ad7334d901897aa58a8c369b54">SteadyStateRandomWaypointMobilityModel::GetTypeId</a> (<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;  <span class="keyword">static</span> <a class="code" href="classns3_1_1_type_id.html">TypeId</a> tid = <a class="code" href="classns3_1_1_type_id.html">TypeId</a> (<span class="stringliteral">&quot;ns3::SteadyStateRandomWaypointMobilityModel&quot;</span>)</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    .<a class="code" href="classns3_1_1_type_id.html#abaaca67ab7d2471067e7c275df0f7309">SetParent</a>&lt;<a class="code" href="classns3_1_1_mobility_model.html">MobilityModel</a>&gt; ()</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    .SetGroupName (<span class="stringliteral">&quot;Mobility&quot;</span>)</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    .AddConstructor&lt;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html">SteadyStateRandomWaypointMobilityModel</a>&gt; ()</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MinSpeed&quot;</span>,</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                   <span class="stringliteral">&quot;Minimum speed value, [m/s]&quot;</span>,</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (0.3),</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8a5945ad51a5e5698154b28c81928af9">SteadyStateRandomWaypointMobilityModel::m_minSpeed</a>),</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MaxSpeed&quot;</span>,</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;                   <span class="stringliteral">&quot;Maximum speed value, [m/s]&quot;</span>,</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (0.7),</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2e0b9a58625f4c4af3559b3362e3fad2">SteadyStateRandomWaypointMobilityModel::m_maxSpeed</a>),</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MinPause&quot;</span>,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;                   <span class="stringliteral">&quot;Minimum pause value, [s]&quot;</span>,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (0.0),</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">SteadyStateRandomWaypointMobilityModel::m_minPause</a>),</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MaxPause&quot;</span>,</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                   <span class="stringliteral">&quot;Maximum pause value, [s]&quot;</span>,</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (0.0),</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">SteadyStateRandomWaypointMobilityModel::m_maxPause</a>),</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MinX&quot;</span>,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                   <span class="stringliteral">&quot;Minimum X value of traveling region, [m]&quot;</span>,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (1),</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">SteadyStateRandomWaypointMobilityModel::m_minX</a>),</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MaxX&quot;</span>,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;                   <span class="stringliteral">&quot;Maximum X value of traveling region, [m]&quot;</span>,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (1),</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">SteadyStateRandomWaypointMobilityModel::m_maxX</a>),</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MinY&quot;</span>,</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;                   <span class="stringliteral">&quot;Minimum Y value of traveling region, [m]&quot;</span>,</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (1),</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">SteadyStateRandomWaypointMobilityModel::m_minY</a>),</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;MaxY&quot;</span>,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;                   <span class="stringliteral">&quot;Maximum Y value of traveling region, [m]&quot;</span>,</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (1),</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">SteadyStateRandomWaypointMobilityModel::m_maxY</a>),</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;                   MakeDoubleChecker&lt;double&gt; ())</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    .AddAttribute (<span class="stringliteral">&quot;Z&quot;</span>,</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                   <span class="stringliteral">&quot;Z value of traveling region (fixed), [m]&quot;</span>,</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                   <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (0.0),</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;                   <a class="code" href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">MakeDoubleAccessor</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a702c7ffbfca3cea2b53e5fe671fd973d">SteadyStateRandomWaypointMobilityModel::m_z</a>),</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;                   MakeDoubleChecker&lt;double&gt; ());</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keywordflow">return</span> tid;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;}</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#abe26fde19d726cac14d0d21478e17a72">   86</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#abe26fde19d726cac14d0d21478e17a72">SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel</a> () :</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  alreadyStarted (false)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;{ </div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6bf20d5e0bbe779c2e7a8a820a9920c8">m_speed</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a46c20c9985a424aba9486dfb34a39579">m_pause</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8b25948c226f0b28f5f958fa32157877">m_x1_r</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#adb2d5dc1a84e75615445b99d6b644f9b">m_y1_r</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4d9efa1dda69dcb5aa455643e9524edb">m_x2_r</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a45e27842ca089b8828735d15795ed680">m_y2_r</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">m_u_r</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ab1524438e74aa8e648c5e03f2d1bf85c">m_x</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a59fec0567f9834913a50f0d697cf409b">m_y</a> = CreateObject&lt;UniformRandomVariable&gt; ();</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;}</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a9e27c674274fb626dca8e0a6ddf3f8f3">  101</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a9e27c674274fb626dca8e0a6ddf3f8f3">SteadyStateRandomWaypointMobilityModel::DoInitialize</a> (<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;{</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a661b708216d6f6c38443d061b0d02c96">DoInitializePrivate</a> ();</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <a class="code" href="classns3_1_1_object.html#af8482a521433409fb5c7f749398c9dbe">MobilityModel::DoInitialize</a> ();</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;}</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a661b708216d6f6c38443d061b0d02c96">  108</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a661b708216d6f6c38443d061b0d02c96">SteadyStateRandomWaypointMobilityModel::DoInitializePrivate</a> (<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;{</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae3f6be410c7eb579aab40908b80c2e32">alreadyStarted</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <span class="comment">// Configure random variables based on attributes</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8a5945ad51a5e5698154b28c81928af9">m_minSpeed</a> &gt;= 1e-6);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8a5945ad51a5e5698154b28c81928af9">m_minSpeed</a> &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2e0b9a58625f4c4af3559b3362e3fad2">m_maxSpeed</a>);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6bf20d5e0bbe779c2e7a8a820a9920c8">m_speed</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Min&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8a5945ad51a5e5698154b28c81928af9">m_minSpeed</a>));</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6bf20d5e0bbe779c2e7a8a820a9920c8">m_speed</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Max&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2e0b9a58625f4c4af3559b3362e3fad2">m_maxSpeed</a>));</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">m_minX</a> &lt; <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">m_maxX</a>);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">m_minY</a> &lt; <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">m_maxY</a>);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">m_position</a> = CreateObject&lt;RandomBoxPositionAllocator&gt; ();</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ab1524438e74aa8e648c5e03f2d1bf85c">m_x</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Min&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">m_minX</a>));</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ab1524438e74aa8e648c5e03f2d1bf85c">m_x</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Max&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">m_maxX</a>));</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a59fec0567f9834913a50f0d697cf409b">m_y</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Min&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">m_minY</a>));</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a59fec0567f9834913a50f0d697cf409b">m_y</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Max&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">m_maxY</a>));</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">m_position</a>-&gt;SetX (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ab1524438e74aa8e648c5e03f2d1bf85c">m_x</a>);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">m_position</a>-&gt;SetY (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a59fec0567f9834913a50f0d697cf409b">m_y</a>);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <a class="code" href="classns3_1_1_ptr.html">Ptr&lt;ConstantRandomVariable&gt;</a> z = CreateObject&lt;ConstantRandomVariable&gt; ();</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  z-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Constant&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a702c7ffbfca3cea2b53e5fe671fd973d">m_z</a>));</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">m_position</a>-&gt;SetZ (z);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a> &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a>);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a46c20c9985a424aba9486dfb34a39579">m_pause</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Min&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a>));</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a46c20c9985a424aba9486dfb34a39579">m_pause</a>-&gt;<a class="code" href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">SetAttribute</a> (<span class="stringliteral">&quot;Max&quot;</span>, <a class="code" href="classns3_1_1_double_value.html">DoubleValue</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a>));</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#aaec113a6c2bae2bf8834bfb1e88d6192">Update</a> ();</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a90668d4ba75783657fb4dab7fe098740">Pause</a> ();</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <span class="comment">// calculate the steady-state probability that a node is initially paused</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <span class="keywordtype">double</span> expectedPauseTime = (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a> + <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a>)/2;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;  <span class="keywordtype">double</span> a = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">m_maxX</a> - <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">m_minX</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <span class="keywordtype">double</span> b = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">m_maxY</a> - <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">m_minY</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <span class="keywordtype">double</span> v0 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8a5945ad51a5e5698154b28c81928af9">m_minSpeed</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  <span class="keywordtype">double</span> v1 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2e0b9a58625f4c4af3559b3362e3fad2">m_maxSpeed</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <span class="keywordtype">double</span> log1 = b*b / a*std::log (std::sqrt ((a*a)/(b*b) + 1) + a/b);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  <span class="keywordtype">double</span> log2 = a*a / b*std::log (std::sqrt ((b*b)/(a*a) + 1) + b/a);</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="keywordtype">double</span> expectedTravelTime = 1.0/6.0*(log1 + log2);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  expectedTravelTime += 1.0/15.0*((a*a*a)/(b*b) + (b*b*b)/(a*a)) -</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    1.0/15.0*std::sqrt (a*a + b*b)*((a*a)/(b*b) + (b*b)/(a*a) - 3);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="keywordflow">if</span> (v0 == v1)</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;      expectedTravelTime /= v0;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    }</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;      expectedTravelTime *= std::log (v1/v0)/(v1 - v0);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    }</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;  <span class="keywordtype">double</span> probabilityPaused = expectedPauseTime/(expectedPauseTime + expectedTravelTime);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (probabilityPaused &gt;= 0 &amp;&amp; probabilityPaused &lt;= 1);</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;  <span class="keywordtype">double</span> u = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">m_u_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, 1);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  <span class="keywordflow">if</span> (u &lt; probabilityPaused) <span class="comment">// node initially paused</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    {</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;      <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a892b4b9ba9a1fbf4f8c221eae6a35cb9">SetPosition</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">m_position</a>-&gt;GetNext ());</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;      u = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">m_u_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, 1);</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;      <a class="code" href="classns3_1_1_time.html">Time</a> pause;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;      <span class="keywordflow">if</span> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a> != <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a>)</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        {</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;          <span class="keywordflow">if</span> (u &lt; (2*<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a>/(<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a> + <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a>)))</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            {</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;              pause = <a class="code" href="group__timecivil.html#ga33c34b816f8ff6628e33d5c8e9713b9e">Seconds</a> (u*(<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a> + <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a>)/2);</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            }</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;          <span class="keywordflow">else</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;            {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;              <span class="comment">// there is an error in equation 20 in the Tech. Report MCS-03-04</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;              <span class="comment">// this error is corrected in the TMC 2004 paper and below</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;              pause = <a class="code" href="group__timecivil.html#ga33c34b816f8ff6628e33d5c8e9713b9e">Seconds</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a> - std::sqrt ((1 - u)*(<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a>*<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">m_maxPause</a> - <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a>*<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">m_minPause</a>)));</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;            }</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        }</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;      <span class="keywordflow">else</span> <span class="comment">// if pause is constant</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        {</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;          pause = <a class="code" href="group__timecivil.html#ga33c34b816f8ff6628e33d5c8e9713b9e">Seconds</a> (u*expectedPauseTime);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        }</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;      <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (!<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a>.<a class="code" href="classns3_1_1_event_id.html#aabf8476d1a080c199ea0c6aa9ccea372">IsRunning</a> ());</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;      <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a> = <a class="code" href="classns3_1_1_simulator.html#a671882c894a08af4a5e91181bf1eec13">Simulator::Schedule</a> (pause, &amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6db94d1dee3fe984ad422fd9bed2d7db">SteadyStateRandomWaypointMobilityModel::BeginWalk</a>, <span class="keyword">this</span>);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    }</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;  <span class="keywordflow">else</span> <span class="comment">// node initially moving</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    {</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;      <span class="keywordtype">double</span> x1, x2, y1, y2;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;      <span class="keywordtype">double</span> r = 0;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;      <span class="keywordtype">double</span> u1 = 1;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;      <span class="keywordflow">while</span> (u1 &gt;= r)</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        {</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;          x1 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8b25948c226f0b28f5f958fa32157877">m_x1_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, a);</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;          y1 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#adb2d5dc1a84e75615445b99d6b644f9b">m_y1_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, b);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;          x2 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4d9efa1dda69dcb5aa455643e9524edb">m_x2_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, a);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;          y2 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a45e27842ca089b8828735d15795ed680">m_y2_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, b);</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;          u1 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">m_u_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, 1);</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;          r = std::sqrt (((x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1))/(a*a + b*b));</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;          <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (r &lt;= 1);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        }</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;      <span class="keywordtype">double</span> u2 = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">m_u_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, 1);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;      <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a892b4b9ba9a1fbf4f8c221eae6a35cb9">SetPosition</a> (Vector (m_minX + u2*x1 + (1 - u2)*x2, m_minY + u2*y1 + (1 - u2)*y2, <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a702c7ffbfca3cea2b53e5fe671fd973d">m_z</a>));</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;      <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (!<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a>.<a class="code" href="classns3_1_1_event_id.html#aabf8476d1a080c199ea0c6aa9ccea372">IsRunning</a> ());</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;      <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a> = <a class="code" href="classns3_1_1_simulator.html#a2219ee02c0647adc83d1c918c3256266">Simulator::ScheduleNow</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4ff1b8e152ae2b5481baf39a91174c5d">SteadyStateRandomWaypointMobilityModel::SteadyStateBeginWalk</a>, <span class="keyword">this</span>, </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                                        Vector (m_minX + x2, m_minY + y2, <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a702c7ffbfca3cea2b53e5fe671fd973d">m_z</a>));</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    }</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;  <a class="code" href="classns3_1_1_mobility_model.html#add1317917ac801284c2467a68f09fbe5">NotifyCourseChange</a> ();</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;}</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4ff1b8e152ae2b5481baf39a91174c5d">  209</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4ff1b8e152ae2b5481baf39a91174c5d">SteadyStateRandomWaypointMobilityModel::SteadyStateBeginWalk</a> (<span class="keyword">const</span> Vector &amp;destination)</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;{</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#aaec113a6c2bae2bf8834bfb1e88d6192">Update</a> ();</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;  Vector m_current = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a9416fca612f00cca9fc9f453cad734b6">GetCurrentPosition</a> ();</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">m_minX</a> &lt;= m_current.x &amp;&amp; m_current.x &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">m_maxX</a>);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">m_minY</a> &lt;= m_current.y &amp;&amp; m_current.y &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">m_maxY</a>);</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">m_minX</a> &lt;= destination.x &amp;&amp; destination.x &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">m_maxX</a>);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">m_minY</a> &lt;= destination.y &amp;&amp; destination.y &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">m_maxY</a>);</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;  <span class="keywordtype">double</span> u = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">m_u_r</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> (0, 1);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;  <span class="keywordtype">double</span> speed = std::pow (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2e0b9a58625f4c4af3559b3362e3fad2">m_maxSpeed</a>, u)/std::pow (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8a5945ad51a5e5698154b28c81928af9">m_minSpeed</a>, u - 1);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;  <span class="keywordtype">double</span> dx = (destination.x - m_current.x);</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;  <span class="keywordtype">double</span> dy = (destination.y - m_current.y);</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;  <span class="keywordtype">double</span> dz = (destination.z - m_current.z);</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;  <span class="keywordtype">double</span> k = speed / std::sqrt (dx*dx + dy*dy + dz*dz);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a985ce86c5b3c94c43048f8db314bbb51">SetVelocity</a> (Vector (k*dx, k*dy, k*dz));</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a053e3968696019359f50d2b2739f783a">Unpause</a> ();</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  <a class="code" href="classns3_1_1_time.html">Time</a> travelDelay = <a class="code" href="group__timecivil.html#ga33c34b816f8ff6628e33d5c8e9713b9e">Seconds</a> (<a class="code" href="namespacens3.html#aaae60adf695e280c4882ced6041d1628">CalculateDistance</a> (destination, m_current) / speed);</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a> = <a class="code" href="classns3_1_1_simulator.html#a671882c894a08af4a5e91181bf1eec13">Simulator::Schedule</a> (travelDelay, </div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                                 &amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#afb5dffc7e7b3e1d2f66f98c1300ca443">SteadyStateRandomWaypointMobilityModel::Start</a>, <span class="keyword">this</span>);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;  <a class="code" href="classns3_1_1_mobility_model.html#add1317917ac801284c2467a68f09fbe5">NotifyCourseChange</a> ();</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;}</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6db94d1dee3fe984ad422fd9bed2d7db">  233</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6db94d1dee3fe984ad422fd9bed2d7db">SteadyStateRandomWaypointMobilityModel::BeginWalk</a> (<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;{</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#aaec113a6c2bae2bf8834bfb1e88d6192">Update</a> ();</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;  Vector m_current = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a9416fca612f00cca9fc9f453cad734b6">GetCurrentPosition</a> ();</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">m_minX</a> &lt;= m_current.x &amp;&amp; m_current.x &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">m_maxX</a>);</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;  <a class="code" href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">m_minY</a> &lt;= m_current.y &amp;&amp; m_current.y &lt;= <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">m_maxY</a>);</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  Vector destination = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">m_position</a>-&gt;GetNext ();</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;  <span class="keywordtype">double</span> speed = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6bf20d5e0bbe779c2e7a8a820a9920c8">m_speed</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> ();</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;  <span class="keywordtype">double</span> dx = (destination.x - m_current.x);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;  <span class="keywordtype">double</span> dy = (destination.y - m_current.y);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;  <span class="keywordtype">double</span> dz = (destination.z - m_current.z);</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;  <span class="keywordtype">double</span> k = speed / std::sqrt (dx*dx + dy*dy + dz*dz);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a985ce86c5b3c94c43048f8db314bbb51">SetVelocity</a> (Vector (k*dx, k*dy, k*dz));</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a053e3968696019359f50d2b2739f783a">Unpause</a> ();</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;  <a class="code" href="classns3_1_1_time.html">Time</a> travelDelay = <a class="code" href="group__timecivil.html#ga33c34b816f8ff6628e33d5c8e9713b9e">Seconds</a> (<a class="code" href="namespacens3.html#aaae60adf695e280c4882ced6041d1628">CalculateDistance</a> (destination, m_current) / speed);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a> = <a class="code" href="classns3_1_1_simulator.html#a671882c894a08af4a5e91181bf1eec13">Simulator::Schedule</a> (travelDelay,</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;                                 &amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#afb5dffc7e7b3e1d2f66f98c1300ca443">SteadyStateRandomWaypointMobilityModel::Start</a>, <span class="keyword">this</span>);</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;  <a class="code" href="classns3_1_1_mobility_model.html#add1317917ac801284c2467a68f09fbe5">NotifyCourseChange</a> ();</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;}</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#afb5dffc7e7b3e1d2f66f98c1300ca443">  255</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#afb5dffc7e7b3e1d2f66f98c1300ca443">SteadyStateRandomWaypointMobilityModel::Start</a> (<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;{</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#aaec113a6c2bae2bf8834bfb1e88d6192">Update</a> ();</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a90668d4ba75783657fb4dab7fe098740">Pause</a> ();</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;  <a class="code" href="classns3_1_1_time.html">Time</a> pause = <a class="code" href="group__timecivil.html#ga33c34b816f8ff6628e33d5c8e9713b9e">Seconds</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a46c20c9985a424aba9486dfb34a39579">m_pause</a>-&gt;<a class="code" href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">GetValue</a> ());</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a> = <a class="code" href="classns3_1_1_simulator.html#a671882c894a08af4a5e91181bf1eec13">Simulator::Schedule</a> (pause, &amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6db94d1dee3fe984ad422fd9bed2d7db">SteadyStateRandomWaypointMobilityModel::BeginWalk</a>, <span class="keyword">this</span>);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;  <a class="code" href="classns3_1_1_mobility_model.html#add1317917ac801284c2467a68f09fbe5">NotifyCourseChange</a> ();</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;}</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;Vector</div>
<div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a13f34089417481a0585f9a700d99d2d0">  265</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a13f34089417481a0585f9a700d99d2d0">SteadyStateRandomWaypointMobilityModel::DoGetPosition</a> (<span class="keywordtype">void</span>)<span class="keyword"> const</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#aaec113a6c2bae2bf8834bfb1e88d6192">Update</a> ();</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a9416fca612f00cca9fc9f453cad734b6">GetCurrentPosition</a> ();</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;}</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="keywordtype">void</span> </div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2ffb24cd477f0a23487e914ca50366bc">  271</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2ffb24cd477f0a23487e914ca50366bc">SteadyStateRandomWaypointMobilityModel::DoSetPosition</a> (<span class="keyword">const</span> Vector &amp;position)</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;{</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae3f6be410c7eb579aab40908b80c2e32">alreadyStarted</a>)</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    {</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;      <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#a892b4b9ba9a1fbf4f8c221eae6a35cb9">SetPosition</a> (position);</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;      <a class="code" href="classns3_1_1_simulator.html#ae30cacdda6cd0d5d62a8f2097b320506">Simulator::Remove</a> (<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a>);</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;      <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">m_event</a> = <a class="code" href="classns3_1_1_simulator.html#a2219ee02c0647adc83d1c918c3256266">Simulator::ScheduleNow</a> (&amp;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#afb5dffc7e7b3e1d2f66f98c1300ca443">SteadyStateRandomWaypointMobilityModel::Start</a>, <span class="keyword">this</span>);</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    }</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;}</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;Vector</div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#abd978076b2b54974a511916b9e807697">  281</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#abd978076b2b54974a511916b9e807697">SteadyStateRandomWaypointMobilityModel::DoGetVelocity</a> (<span class="keywordtype">void</span>)<span class="keyword"> const</span></div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">m_helper</a>.<a class="code" href="classns3_1_1_constant_velocity_helper.html#aa38dd5be77680154c481e71f4965ae90">GetVelocity</a> ();</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;}</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;int64_t</div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae93040385b173102abf1cd5103026c1a">  286</a></span>&#160;<a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae93040385b173102abf1cd5103026c1a">SteadyStateRandomWaypointMobilityModel::DoAssignStreams</a> (int64_t stream)</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;{</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;  int64_t positionStreamsAllocated = 0;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6bf20d5e0bbe779c2e7a8a820a9920c8">m_speed</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream);</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a46c20c9985a424aba9486dfb34a39579">m_pause</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 1);</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8b25948c226f0b28f5f958fa32157877">m_x1_r</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 2);</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#adb2d5dc1a84e75615445b99d6b644f9b">m_y1_r</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 3);</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4d9efa1dda69dcb5aa455643e9524edb">m_x2_r</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 4);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a45e27842ca089b8828735d15795ed680">m_y2_r</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 5);</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">m_u_r</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 6);</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ab1524438e74aa8e648c5e03f2d1bf85c">m_x</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 7);</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;  <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a59fec0567f9834913a50f0d697cf409b">m_y</a>-&gt;<a class="code" href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">SetStream</a> (stream + 8);</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;  positionStreamsAllocated = <a class="code" href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">m_position</a>-&gt;AssignStreams (stream + 9);</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;  <span class="keywordflow">return</span> (9 + positionStreamsAllocated);</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;}</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;} <span class="comment">// namespace ns3</span></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a9e27c674274fb626dca8e0a6ddf3f8f3"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a9e27c674274fb626dca8e0a6ddf3f8f3">ns3::SteadyStateRandomWaypointMobilityModel::DoInitialize</a></div><div class="ttdeci">virtual void DoInitialize(void)</div><div class="ttdoc">Initialize() implementation. </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00101">steady-state-random-waypoint-mobility-model.cc:101</a></div></div>
<div class="ttc" id="classns3_1_1_object_html_af8482a521433409fb5c7f749398c9dbe"><div class="ttname"><a href="classns3_1_1_object.html#af8482a521433409fb5c7f749398c9dbe">ns3::Object::DoInitialize</a></div><div class="ttdeci">virtual void DoInitialize(void)</div><div class="ttdoc">Initialize() implementation. </div><div class="ttdef"><b>Definition:</b> <a href="object_8cc_source.html#l00353">object.cc:353</a></div></div>
<div class="ttc" id="classns3_1_1_time_html"><div class="ttname"><a href="classns3_1_1_time.html">ns3::Time</a></div><div class="ttdoc">Simulation virtual time values and global simulation resolution. </div><div class="ttdef"><b>Definition:</b> <a href="nstime_8h_source.html#l00102">nstime.h:102</a></div></div>
<div class="ttc" id="classns3_1_1_ptr_html"><div class="ttname"><a href="classns3_1_1_ptr.html">ns3::Ptr&lt; ConstantRandomVariable &gt;</a></div></div>
<div class="ttc" id="classns3_1_1_random_variable_stream_html_add11aaf975607746b7e271d300659a94"><div class="ttname"><a href="classns3_1_1_random_variable_stream.html#add11aaf975607746b7e271d300659a94">ns3::RandomVariableStream::SetStream</a></div><div class="ttdeci">void SetStream(int64_t stream)</div><div class="ttdoc">Specifies the stream number for this RNG stream. </div><div class="ttdef"><b>Definition:</b> <a href="random-variable-stream_8cc_source.html#l00099">random-variable-stream.cc:99</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a7e404b5d33a31d542ad95fd857ea1651"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a7e404b5d33a31d542ad95fd857ea1651">ns3::SteadyStateRandomWaypointMobilityModel::m_maxX</a></div><div class="ttdeci">double m_maxX</div><div class="ttdoc">maximum x value of traveling region (m) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00097">steady-state-random-waypoint-mobility-model.h:97</a></div></div>
<div class="ttc" id="group__object_html_gada1b0bfc04abdba718621b5095c87678"><div class="ttname"><a href="group__object.html#gada1b0bfc04abdba718621b5095c87678">NS_OBJECT_ENSURE_REGISTERED</a></div><div class="ttdeci">#define NS_OBJECT_ENSURE_REGISTERED(type)</div><div class="ttdoc">Register an Object subclass with the TypeId system. </div><div class="ttdef"><b>Definition:</b> <a href="object-base_8h_source.html#l00044">object-base.h:44</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a6bf20d5e0bbe779c2e7a8a820a9920c8"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6bf20d5e0bbe779c2e7a8a820a9920c8">ns3::SteadyStateRandomWaypointMobilityModel::m_speed</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_speed</div><div class="ttdoc">random variable for speed values </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00095">steady-state-random-waypoint-mobility-model.h:95</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a46c20c9985a424aba9486dfb34a39579"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a46c20c9985a424aba9486dfb34a39579">ns3::SteadyStateRandomWaypointMobilityModel::m_pause</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_pause</div><div class="ttdoc">random variable for pause values </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00104">steady-state-random-waypoint-mobility-model.h:104</a></div></div>
<div class="ttc" id="classns3_1_1_constant_velocity_helper_html_a9416fca612f00cca9fc9f453cad734b6"><div class="ttname"><a href="classns3_1_1_constant_velocity_helper.html#a9416fca612f00cca9fc9f453cad734b6">ns3::ConstantVelocityHelper::GetCurrentPosition</a></div><div class="ttdeci">Vector GetCurrentPosition(void) const </div><div class="ttdoc">Get current position vector. </div><div class="ttdef"><b>Definition:</b> <a href="constant-velocity-helper_8cc_source.html#l00059">constant-velocity-helper.cc:59</a></div></div>
<div class="ttc" id="group__assert_html_ga6dccdb0de9b252f60088ce281c49d052"><div class="ttname"><a href="group__assert.html#ga6dccdb0de9b252f60088ce281c49d052">NS_ASSERT</a></div><div class="ttdeci">#define NS_ASSERT(condition)</div><div class="ttdoc">At runtime, in debugging builds, if this condition is not true, the program prints the source file...</div><div class="ttdef"><b>Definition:</b> <a href="assert_8h_source.html#l00067">assert.h:67</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a8b25948c226f0b28f5f958fa32157877"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8b25948c226f0b28f5f958fa32157877">ns3::SteadyStateRandomWaypointMobilityModel::m_x1_r</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_x1_r</div><div class="ttdoc">rv used in rejection sampling phase </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00107">steady-state-random-waypoint-mobility-model.h:107</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_abe26fde19d726cac14d0d21478e17a72"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#abe26fde19d726cac14d0d21478e17a72">ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel</a></div><div class="ttdeci">SteadyStateRandomWaypointMobilityModel()</div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00086">steady-state-random-waypoint-mobility-model.cc:86</a></div></div>
<div class="ttc" id="classns3_1_1_event_id_html_aabf8476d1a080c199ea0c6aa9ccea372"><div class="ttname"><a href="classns3_1_1_event_id.html#aabf8476d1a080c199ea0c6aa9ccea372">ns3::EventId::IsRunning</a></div><div class="ttdeci">bool IsRunning(void) const </div><div class="ttdoc">This method is syntactic sugar for !IsExpired(). </div><div class="ttdef"><b>Definition:</b> <a href="event-id_8cc_source.html#l00065">event-id.cc:65</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a08d9ee8057dda08d1bd8ea696fd099c8"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a08d9ee8057dda08d1bd8ea696fd099c8">ns3::SteadyStateRandomWaypointMobilityModel::m_u_r</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_u_r</div><div class="ttdoc">rv used in step 5 of algorithm </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00111">steady-state-random-waypoint-mobility-model.h:111</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_ae57dec0ef026e81c8d9ad3981394b228"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae57dec0ef026e81c8d9ad3981394b228">ns3::SteadyStateRandomWaypointMobilityModel::m_event</a></div><div class="ttdeci">EventId m_event</div><div class="ttdoc">current event ID </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00105">steady-state-random-waypoint-mobility-model.h:105</a></div></div>
<div class="ttc" id="steady-state-random-waypoint-mobility-model_8h_html"><div class="ttname"><a href="steady-state-random-waypoint-mobility-model_8h.html">steady-state-random-waypoint-mobility-model.h</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a4d9efa1dda69dcb5aa455643e9524edb"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4d9efa1dda69dcb5aa455643e9524edb">ns3::SteadyStateRandomWaypointMobilityModel::m_x2_r</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_x2_r</div><div class="ttdoc">rv used in rejection sampling phase </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00109">steady-state-random-waypoint-mobility-model.h:109</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_ac32e974711c22cb50358e4e10109516c"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ac32e974711c22cb50358e4e10109516c">ns3::SteadyStateRandomWaypointMobilityModel::m_helper</a></div><div class="ttdeci">ConstantVelocityHelper m_helper</div><div class="ttdoc">helper for velocity computations </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00092">steady-state-random-waypoint-mobility-model.h:92</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a4ff1b8e152ae2b5481baf39a91174c5d"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a4ff1b8e152ae2b5481baf39a91174c5d">ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateBeginWalk</a></div><div class="ttdeci">void SteadyStateBeginWalk(const Vector &amp;destination)</div><div class="ttdoc">Use provided destination to calculate travel delay, and schedule a Start() event at that time...</div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00209">steady-state-random-waypoint-mobility-model.cc:209</a></div></div>
<div class="ttc" id="classns3_1_1_mobility_model_html"><div class="ttname"><a href="classns3_1_1_mobility_model.html">ns3::MobilityModel</a></div><div class="ttdoc">Keep track of the current position and velocity of an object. </div><div class="ttdef"><b>Definition:</b> <a href="mobility-model_8h_source.html#l00039">mobility-model.h:39</a></div></div>
<div class="ttc" id="classns3_1_1_simulator_html_a671882c894a08af4a5e91181bf1eec13"><div class="ttname"><a href="classns3_1_1_simulator.html#a671882c894a08af4a5e91181bf1eec13">ns3::Simulator::Schedule</a></div><div class="ttdeci">static EventId Schedule(Time const &amp;delay, MEM mem_ptr, OBJ obj)</div><div class="ttdoc">Schedule an event to expire after delay. </div><div class="ttdef"><b>Definition:</b> <a href="simulator_8h_source.html#l01371">simulator.h:1371</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a45e27842ca089b8828735d15795ed680"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a45e27842ca089b8828735d15795ed680">ns3::SteadyStateRandomWaypointMobilityModel::m_y2_r</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_y2_r</div><div class="ttdoc">rv used in rejection sampling phase </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00110">steady-state-random-waypoint-mobility-model.h:110</a></div></div>
<div class="ttc" id="namespacens3_html_aaae60adf695e280c4882ced6041d1628"><div class="ttname"><a href="namespacens3.html#aaae60adf695e280c4882ced6041d1628">ns3::CalculateDistance</a></div><div class="ttdeci">double CalculateDistance(const Vector3D &amp;a, const Vector3D &amp;b)</div><div class="ttdef"><b>Definition:</b> <a href="vector_8cc_source.html#l00092">vector.cc:92</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a37f6b6cb1d31fce26b84b817831b1e24"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a37f6b6cb1d31fce26b84b817831b1e24">ns3::SteadyStateRandomWaypointMobilityModel::m_minX</a></div><div class="ttdeci">double m_minX</div><div class="ttdoc">minimum x value of traveling region (m) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00096">steady-state-random-waypoint-mobility-model.h:96</a></div></div>
<div class="ttc" id="classns3_1_1_mobility_model_html_add1317917ac801284c2467a68f09fbe5"><div class="ttname"><a href="classns3_1_1_mobility_model.html#add1317917ac801284c2467a68f09fbe5">ns3::MobilityModel::NotifyCourseChange</a></div><div class="ttdeci">void NotifyCourseChange(void) const </div><div class="ttdoc">Must be invoked by subclasses when the course of the position changes to notify course change listene...</div><div class="ttdef"><b>Definition:</b> <a href="mobility-model_8cc_source.html#l00095">mobility-model.cc:95</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_afb5dffc7e7b3e1d2f66f98c1300ca443"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#afb5dffc7e7b3e1d2f66f98c1300ca443">ns3::SteadyStateRandomWaypointMobilityModel::Start</a></div><div class="ttdeci">void Start(void)</div><div class="ttdoc">Start a pause period and schedule the ending of the pause. </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00255">steady-state-random-waypoint-mobility-model.cc:255</a></div></div>
<div class="ttc" id="classns3_1_1_constant_velocity_helper_html_aaec113a6c2bae2bf8834bfb1e88d6192"><div class="ttname"><a href="classns3_1_1_constant_velocity_helper.html#aaec113a6c2bae2bf8834bfb1e88d6192">ns3::ConstantVelocityHelper::Update</a></div><div class="ttdeci">void Update(void) const </div><div class="ttdoc">Update position, if not paused, from last position and time of last update. </div><div class="ttdef"><b>Definition:</b> <a href="constant-velocity-helper_8cc_source.html#l00080">constant-velocity-helper.cc:80</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_aa208b74985a3dfd89206e0fbf582186f"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aa208b74985a3dfd89206e0fbf582186f">ns3::SteadyStateRandomWaypointMobilityModel::m_minY</a></div><div class="ttdeci">double m_minY</div><div class="ttdoc">minimum y value of traveling region (m) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00098">steady-state-random-waypoint-mobility-model.h:98</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a2ffb24cd477f0a23487e914ca50366bc"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2ffb24cd477f0a23487e914ca50366bc">ns3::SteadyStateRandomWaypointMobilityModel::DoSetPosition</a></div><div class="ttdeci">virtual void DoSetPosition(const Vector &amp;position)</div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00271">steady-state-random-waypoint-mobility-model.cc:271</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html">ns3::SteadyStateRandomWaypointMobilityModel</a></div><div class="ttdoc">Steady-state random waypoint mobility model. </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00055">steady-state-random-waypoint-mobility-model.h:55</a></div></div>
<div class="ttc" id="classns3_1_1_simulator_html_ae30cacdda6cd0d5d62a8f2097b320506"><div class="ttname"><a href="classns3_1_1_simulator.html#ae30cacdda6cd0d5d62a8f2097b320506">ns3::Simulator::Remove</a></div><div class="ttdeci">static void Remove(const EventId &amp;id)</div><div class="ttdoc">Remove an event from the event list. </div><div class="ttdef"><b>Definition:</b> <a href="simulator_8cc_source.html#l00336">simulator.cc:336</a></div></div>
<div class="ttc" id="namespacens3_html"><div class="ttname"><a href="namespacens3.html">ns3</a></div><div class="ttdoc">Every class exported by the ns3 library is enclosed in the ns3 namespace. </div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a8986b6ac8a22e230e7596763d973af07"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8986b6ac8a22e230e7596763d973af07">ns3::SteadyStateRandomWaypointMobilityModel::m_maxPause</a></div><div class="ttdeci">double m_maxPause</div><div class="ttdoc">maximum pause value (s) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00103">steady-state-random-waypoint-mobility-model.h:103</a></div></div>
<div class="ttc" id="classns3_1_1_uniform_random_variable_html_a03822d8c86ac51e9aa83bbc73041386b"><div class="ttname"><a href="classns3_1_1_uniform_random_variable.html#a03822d8c86ac51e9aa83bbc73041386b">ns3::UniformRandomVariable::GetValue</a></div><div class="ttdeci">double GetValue(double min, double max)</div><div class="ttdoc">Get the next random value, as a double in the specified range . </div><div class="ttdef"><b>Definition:</b> <a href="random-variable-stream_8cc_source.html#l00181">random-variable-stream.cc:181</a></div></div>
<div class="ttc" id="classns3_1_1_constant_velocity_helper_html_a985ce86c5b3c94c43048f8db314bbb51"><div class="ttname"><a href="classns3_1_1_constant_velocity_helper.html#a985ce86c5b3c94c43048f8db314bbb51">ns3::ConstantVelocityHelper::SetVelocity</a></div><div class="ttdeci">void SetVelocity(const Vector &amp;vel)</div><div class="ttdoc">Set new velocity vector. </div><div class="ttdef"><b>Definition:</b> <a href="constant-velocity-helper_8cc_source.html#l00072">constant-velocity-helper.cc:72</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a8a5945ad51a5e5698154b28c81928af9"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a8a5945ad51a5e5698154b28c81928af9">ns3::SteadyStateRandomWaypointMobilityModel::m_minSpeed</a></div><div class="ttdeci">double m_minSpeed</div><div class="ttdoc">minimum speed value (m/s) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00094">steady-state-random-waypoint-mobility-model.h:94</a></div></div>
<div class="ttc" id="classns3_1_1_simulator_html_a2219ee02c0647adc83d1c918c3256266"><div class="ttname"><a href="classns3_1_1_simulator.html#a2219ee02c0647adc83d1c918c3256266">ns3::Simulator::ScheduleNow</a></div><div class="ttdeci">static EventId ScheduleNow(MEM mem_ptr, OBJ obj)</div><div class="ttdoc">Schedule an event to expire Now. </div><div class="ttdef"><b>Definition:</b> <a href="simulator_8h_source.html#l01560">simulator.h:1560</a></div></div>
<div class="ttc" id="group__attribute___double_html_gaef08ccdef7ff644dc39aa7b24a2f740f"><div class="ttname"><a href="group__attribute___double.html#gaef08ccdef7ff644dc39aa7b24a2f740f">ns3::MakeDoubleAccessor</a></div><div class="ttdeci">Ptr&lt; const AttributeAccessor &gt; MakeDoubleAccessor(T1 a1)</div><div class="ttdoc">Create an AttributeAccessor for a class data member, or a lone class get functor or set method...</div><div class="ttdef"><b>Definition:</b> <a href="double_8h_source.html#l00042">double.h:42</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_aebede763f8363a98d153a19523d0a131"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#aebede763f8363a98d153a19523d0a131">ns3::SteadyStateRandomWaypointMobilityModel::m_maxY</a></div><div class="ttdeci">double m_maxY</div><div class="ttdoc">maximum y value of traveling region (m) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00099">steady-state-random-waypoint-mobility-model.h:99</a></div></div>
<div class="ttc" id="classns3_1_1_constant_velocity_helper_html_aa38dd5be77680154c481e71f4965ae90"><div class="ttname"><a href="classns3_1_1_constant_velocity_helper.html#aa38dd5be77680154c481e71f4965ae90">ns3::ConstantVelocityHelper::GetVelocity</a></div><div class="ttdeci">Vector GetVelocity(void) const </div><div class="ttdoc">Get velocity; if paused, will return a zero vector. </div><div class="ttdef"><b>Definition:</b> <a href="constant-velocity-helper_8cc_source.html#l00066">constant-velocity-helper.cc:66</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a702c7ffbfca3cea2b53e5fe671fd973d"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a702c7ffbfca3cea2b53e5fe671fd973d">ns3::SteadyStateRandomWaypointMobilityModel::m_z</a></div><div class="ttdeci">double m_z</div><div class="ttdoc">z value of traveling region </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00100">steady-state-random-waypoint-mobility-model.h:100</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a13f34089417481a0585f9a700d99d2d0"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a13f34089417481a0585f9a700d99d2d0">ns3::SteadyStateRandomWaypointMobilityModel::DoGetPosition</a></div><div class="ttdeci">virtual Vector DoGetPosition(void) const </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00265">steady-state-random-waypoint-mobility-model.cc:265</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_ae3f6be410c7eb579aab40908b80c2e32"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae3f6be410c7eb579aab40908b80c2e32">ns3::SteadyStateRandomWaypointMobilityModel::alreadyStarted</a></div><div class="ttdeci">bool alreadyStarted</div><div class="ttdoc">flag for starting state </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00106">steady-state-random-waypoint-mobility-model.h:106</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_abd978076b2b54974a511916b9e807697"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#abd978076b2b54974a511916b9e807697">ns3::SteadyStateRandomWaypointMobilityModel::DoGetVelocity</a></div><div class="ttdeci">virtual Vector DoGetVelocity(void) const </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00281">steady-state-random-waypoint-mobility-model.cc:281</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_adb2d5dc1a84e75615445b99d6b644f9b"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#adb2d5dc1a84e75615445b99d6b644f9b">ns3::SteadyStateRandomWaypointMobilityModel::m_y1_r</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_y1_r</div><div class="ttdoc">rv used in rejection sampling phase </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00108">steady-state-random-waypoint-mobility-model.h:108</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a59fec0567f9834913a50f0d697cf409b"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a59fec0567f9834913a50f0d697cf409b">ns3::SteadyStateRandomWaypointMobilityModel::m_y</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_y</div><div class="ttdoc">rv used for position allocator </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00113">steady-state-random-waypoint-mobility-model.h:113</a></div></div>
<div class="ttc" id="group__timecivil_html_ga33c34b816f8ff6628e33d5c8e9713b9e"><div class="ttname"><a href="group__timecivil.html#ga33c34b816f8ff6628e33d5c8e9713b9e">ns3::Seconds</a></div><div class="ttdeci">Time Seconds(double value)</div><div class="ttdoc">Construct a Time in the indicated unit. </div><div class="ttdef"><b>Definition:</b> <a href="nstime_8h_source.html#l00993">nstime.h:993</a></div></div>
<div class="ttc" id="classns3_1_1_constant_velocity_helper_html_a053e3968696019359f50d2b2739f783a"><div class="ttname"><a href="classns3_1_1_constant_velocity_helper.html#a053e3968696019359f50d2b2739f783a">ns3::ConstantVelocityHelper::Unpause</a></div><div class="ttdeci">void Unpause(void)</div><div class="ttdoc">Resume mobility from current position at current velocity. </div><div class="ttdef"><b>Definition:</b> <a href="constant-velocity-helper_8cc_source.html#l00129">constant-velocity-helper.cc:129</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_af99538149102b89057259be27bd6d59e"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#af99538149102b89057259be27bd6d59e">ns3::SteadyStateRandomWaypointMobilityModel::m_position</a></div><div class="ttdeci">Ptr&lt; RandomBoxPositionAllocator &gt; m_position</div><div class="ttdoc">position allocator </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00101">steady-state-random-waypoint-mobility-model.h:101</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_ae93040385b173102abf1cd5103026c1a"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ae93040385b173102abf1cd5103026c1a">ns3::SteadyStateRandomWaypointMobilityModel::DoAssignStreams</a></div><div class="ttdeci">virtual int64_t DoAssignStreams(int64_t)</div><div class="ttdoc">The default implementation does nothing but return the passed-in parameter. </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00286">steady-state-random-waypoint-mobility-model.cc:286</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a6db94d1dee3fe984ad422fd9bed2d7db"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a6db94d1dee3fe984ad422fd9bed2d7db">ns3::SteadyStateRandomWaypointMobilityModel::BeginWalk</a></div><div class="ttdeci">void BeginWalk(void)</div><div class="ttdoc">Start a motion period and schedule the ending of the motion. </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00233">steady-state-random-waypoint-mobility-model.cc:233</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a0d2dc8ad7334d901897aa58a8c369b54"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a0d2dc8ad7334d901897aa58a8c369b54">ns3::SteadyStateRandomWaypointMobilityModel::GetTypeId</a></div><div class="ttdeci">static TypeId GetTypeId(void)</div><div class="ttdoc">Register this type with the TypeId system. </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00031">steady-state-random-waypoint-mobility-model.cc:31</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a2e0b9a58625f4c4af3559b3362e3fad2"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2e0b9a58625f4c4af3559b3362e3fad2">ns3::SteadyStateRandomWaypointMobilityModel::m_maxSpeed</a></div><div class="ttdeci">double m_maxSpeed</div><div class="ttdoc">maximum speed value (m/s) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00093">steady-state-random-waypoint-mobility-model.h:93</a></div></div>
<div class="ttc" id="classns3_1_1_constant_velocity_helper_html_a892b4b9ba9a1fbf4f8c221eae6a35cb9"><div class="ttname"><a href="classns3_1_1_constant_velocity_helper.html#a892b4b9ba9a1fbf4f8c221eae6a35cb9">ns3::ConstantVelocityHelper::SetPosition</a></div><div class="ttdeci">void SetPosition(const Vector &amp;position)</div><div class="ttdoc">Set position vector. </div><div class="ttdef"><b>Definition:</b> <a href="constant-velocity-helper_8cc_source.html#l00050">constant-velocity-helper.cc:50</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a2f2c459cb15ccdc6b1ca7b189b48f2b4"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a2f2c459cb15ccdc6b1ca7b189b48f2b4">ns3::SteadyStateRandomWaypointMobilityModel::m_minPause</a></div><div class="ttdeci">double m_minPause</div><div class="ttdoc">minimum pause value (s) </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00102">steady-state-random-waypoint-mobility-model.h:102</a></div></div>
<div class="ttc" id="classns3_1_1_double_value_html"><div class="ttname"><a href="classns3_1_1_double_value.html">ns3::DoubleValue</a></div><div class="ttdoc">This class can be used to hold variables of floating point type such as &#39;double&#39; or &#39;float&#39;...</div><div class="ttdef"><b>Definition:</b> <a href="double_8h_source.html#l00041">double.h:41</a></div></div>
<div class="ttc" id="classns3_1_1_object_base_html_ac60245d3ea4123bbc9b1d391f1f6592f"><div class="ttname"><a href="classns3_1_1_object_base.html#ac60245d3ea4123bbc9b1d391f1f6592f">ns3::ObjectBase::SetAttribute</a></div><div class="ttdeci">void SetAttribute(std::string name, const AttributeValue &amp;value)</div><div class="ttdoc">Set a single attribute, raising fatal errors if unsuccessful. </div><div class="ttdef"><b>Definition:</b> <a href="object-base_8cc_source.html#l00185">object-base.cc:185</a></div></div>
<div class="ttc" id="classns3_1_1_type_id_html"><div class="ttname"><a href="classns3_1_1_type_id.html">ns3::TypeId</a></div><div class="ttdoc">a unique identifier for an interface. </div><div class="ttdef"><b>Definition:</b> <a href="type-id_8h_source.html#l00058">type-id.h:58</a></div></div>
<div class="ttc" id="classns3_1_1_constant_velocity_helper_html_a90668d4ba75783657fb4dab7fe098740"><div class="ttname"><a href="classns3_1_1_constant_velocity_helper.html#a90668d4ba75783657fb4dab7fe098740">ns3::ConstantVelocityHelper::Pause</a></div><div class="ttdeci">void Pause(void)</div><div class="ttdoc">Pause mobility at current position. </div><div class="ttdef"><b>Definition:</b> <a href="constant-velocity-helper_8cc_source.html#l00122">constant-velocity-helper.cc:122</a></div></div>
<div class="ttc" id="classns3_1_1_type_id_html_abaaca67ab7d2471067e7c275df0f7309"><div class="ttname"><a href="classns3_1_1_type_id.html#abaaca67ab7d2471067e7c275df0f7309">ns3::TypeId::SetParent</a></div><div class="ttdeci">TypeId SetParent(TypeId tid)</div><div class="ttdoc">Set the parent TypeId. </div><div class="ttdef"><b>Definition:</b> <a href="type-id_8cc_source.html#l00904">type-id.cc:904</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_ab1524438e74aa8e648c5e03f2d1bf85c"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#ab1524438e74aa8e648c5e03f2d1bf85c">ns3::SteadyStateRandomWaypointMobilityModel::m_x</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_x</div><div class="ttdoc">rv used for position allocator </div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8h_source.html#l00112">steady-state-random-waypoint-mobility-model.h:112</a></div></div>
<div class="ttc" id="classns3_1_1_steady_state_random_waypoint_mobility_model_html_a661b708216d6f6c38443d061b0d02c96"><div class="ttname"><a href="classns3_1_1_steady_state_random_waypoint_mobility_model.html#a661b708216d6f6c38443d061b0d02c96">ns3::SteadyStateRandomWaypointMobilityModel::DoInitializePrivate</a></div><div class="ttdeci">void DoInitializePrivate(void)</div><div class="ttdoc">Configure random variables based on attributes; calculate the steady state probability that node is i...</div><div class="ttdef"><b>Definition:</b> <a href="steady-state-random-waypoint-mobility-model_8cc_source.html#l00108">steady-state-random-waypoint-mobility-model.cc:108</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- ns-3 doxygen header, based on
     HTML header for doxygen 1.8.3.1
     Verified compatible with 1.8.6
-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_26a3ad5af453008c0d8aca6881659990.html">mobility</a></li><li class="navelem"><a class="el" href="dir_f1425756ce15aeba7a8c7c4e0d3a4b09.html">model</a></li><li class="navelem"><a class="el" href="steady-state-random-waypoint-mobility-model_8cc.html">steady-state-random-waypoint-mobility-model.cc</a></li>
    <li class="footer">Generated on Tue Jun 13 2017 18:21:18 for ns-3 by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>