<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: Node.cc Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</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> </ul> </div> <h1>Node.cc</h1><a href="servlib_2prophet_2Node_8cc.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> * Copyright 2007 Baylor University</span> <a name="l00003"></a>00003 <span class="comment"> *</span> <a name="l00004"></a>00004 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span> <a name="l00005"></a>00005 <span class="comment"> * you may not use this file except in compliance with the License.</span> <a name="l00006"></a>00006 <span class="comment"> * You may obtain a copy of the License at</span> <a name="l00007"></a>00007 <span class="comment"> *</span> <a name="l00008"></a>00008 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span> <a name="l00009"></a>00009 <span class="comment"> *</span> <a name="l00010"></a>00010 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span> <a name="l00011"></a>00011 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span> <a name="l00012"></a>00012 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span> <a name="l00013"></a>00013 <span class="comment"> * See the License for the specific language governing permissions and</span> <a name="l00014"></a>00014 <span class="comment"> * limitations under the License.</span> <a name="l00015"></a>00015 <span class="comment"> */</span> <a name="l00016"></a>00016 <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="servlib_2prophet_2Node_8h.html">Node.h</a>"</span> <a name="l00018"></a>00018 <span class="preprocessor">#include <time.h></span> <span class="comment">// for time()</span> <a name="l00019"></a>00019 <span class="preprocessor">#include <netinet/in.h></span> <span class="comment">// for ntoh*,hton*</span> <a name="l00020"></a>00020 <span class="preprocessor">#include <math.h></span> <span class="comment">// for pow()</span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="keyword">namespace </span>prophet { <a name="l00023"></a>00023 <a name="l00024"></a>00024 <span class="keyword">const</span> <span class="keywordtype">double</span> <a name="l00025"></a>00025 <a class="code" href="structprophet_1_1NodeParams.html#ea9a3e2edf9e04edfd6282d27d621454" title="Default initialization values, p.">NodeParams::DEFAULT_P_ENCOUNTER</a> = 0.75; <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="keyword">const</span> <span class="keywordtype">double</span> <a name="l00028"></a>00028 <a class="code" href="structprophet_1_1NodeParams.html#1860ee3f76d4b409a53f15d39739d964" title="Default initialization values, p.">NodeParams::DEFAULT_BETA</a> = 0.25; <a name="l00029"></a>00029 <a name="l00030"></a>00030 <span class="keyword">const</span> <span class="keywordtype">double</span> <a name="l00031"></a>00031 <a class="code" href="structprophet_1_1NodeParams.html#5a59c293aeb8704cb5abe2b003aa35de" title="Default initialization values, p.">NodeParams::DEFAULT_GAMMA</a> = 0.99; <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="keyword">const</span> u_int <a name="l00034"></a>00034 <a class="code" href="structprophet_1_1NodeParams.html#24476b6c796c0cc96e4be37d3df301bd" title="The kappa variable describes how many milliseconds-per-timeunit (for equation 2,...">NodeParams::DEFAULT_KAPPA</a> = 100; <a name="l00035"></a>00035 <a name="l00036"></a><a class="code" href="classprophet_1_1Node.html#75459afed7dcff2374e6c31b05f08dc8">00036</a> <a class="code" href="classprophet_1_1Node.html#75459afed7dcff2374e6c31b05f08dc8" title="Default constructor.">Node::Node</a>(<span class="keyword">const</span> <a class="code" href="structprophet_1_1NodeParams.html" title="Tunable parameter struct for setting global default values for Prophet node algorithms...">NodeParams</a>* params) <a name="l00037"></a>00037 : p_value_(0.0), relay_(DEFAULT_RELAY), custody_(DEFAULT_CUSTODY), <a name="l00038"></a>00038 internet_gateway_(DEFAULT_INTERNET), dest_id_(<span class="stringliteral">""</span>), heap_pos_(0) <a name="l00039"></a>00039 { <a name="l00040"></a>00040 <span class="comment">// store local copy of NodeParams</span> <a name="l00041"></a>00041 <span class="keywordflow">if</span> (params != NULL) <a name="l00042"></a>00042 <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> = <span class="keyword">new</span> <a class="code" href="structprophet_1_1NodeParams.html" title="Tunable parameter struct for setting global default values for Prophet node algorithms...">NodeParams</a>(*params); <a name="l00043"></a>00043 <span class="keywordflow">else</span> <a name="l00044"></a>00044 <span class="comment">// take the default if nothing was specified</span> <a name="l00045"></a>00045 <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> = <span class="keyword">new</span> <a class="code" href="structprophet_1_1NodeParams.html" title="Tunable parameter struct for setting global default values for Prophet node algorithms...">NodeParams</a>(); <a name="l00046"></a>00046 <a name="l00047"></a>00047 <span class="comment">// read in current epoch</span> <a name="l00048"></a>00048 <a class="code" href="classprophet_1_1Node.html#78e6ca0a6340e2c8a624652c4885a596" title="age in seconds of last update to p_value">age_</a> = time(0); <a name="l00049"></a>00049 } <a name="l00050"></a>00050 <a name="l00051"></a><a class="code" href="classprophet_1_1Node.html#b94bd68e88c62f107e822fa4792d8ba1">00051</a> Node::Node(<span class="keyword">const</span> <a class="code" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">Node</a>& n) <a name="l00052"></a>00052 : p_value_(n.p_value_), relay_(n.relay_), <a name="l00053"></a>00053 custody_(n.custody_), internet_gateway_(n.internet_gateway_), <a name="l00054"></a>00054 dest_id_(n.dest_id_), age_(n.age_), heap_pos_(n.heap_pos_) <a name="l00055"></a>00055 { <a name="l00056"></a>00056 <span class="comment">// store local copy of NodeParams</span> <a name="l00057"></a>00057 <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> = <span class="keyword">new</span> <a class="code" href="structprophet_1_1NodeParams.html" title="Tunable parameter struct for setting global default values for Prophet node algorithms...">NodeParams</a>(*n.<a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>); <a name="l00058"></a>00058 } <a name="l00059"></a>00059 <a name="l00060"></a><a class="code" href="classprophet_1_1Node.html#26e78daa3c227387dc2ce2592ba9106c">00060</a> <a class="code" href="classprophet_1_1Node.html#75459afed7dcff2374e6c31b05f08dc8" title="Default constructor.">Node::Node</a>(<span class="keyword">const</span> std::string& <a class="code" href="classprophet_1_1Node.html#4c423ba83a417f43615a087bf52127e9" title="Accessors.">dest_id</a>, <a name="l00061"></a>00061 <span class="keywordtype">bool</span> <a class="code" href="classprophet_1_1Node.html#0c4ef32bed5fa9595df25d24d4090ffc" title="Accessors.">relay</a>, <span class="keywordtype">bool</span> <a class="code" href="classprophet_1_1Node.html#30c2f606e0860b283bea16d79e1d5747" title="Accessors.">custody</a>, <span class="keywordtype">bool</span> internet, <a name="l00062"></a>00062 <span class="keyword">const</span> <a class="code" href="structprophet_1_1NodeParams.html" title="Tunable parameter struct for setting global default values for Prophet node algorithms...">NodeParams</a>* <a class="code" href="classprophet_1_1Node.html#3c184f84a2984f0bd2c0a3479b461f46" title="Accessors.">params</a>) <a name="l00063"></a>00063 : <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>(NULL), <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a>(0.0), <a class="code" href="classprophet_1_1Node.html#a9c374bd403cce3a2f302fb85815225b" title="whether this node acts as relay">relay_</a>(relay), <a name="l00064"></a>00064 <a class="code" href="classprophet_1_1Node.html#aed787be763e9c079022852749599b7e" title="whether this node accepts custody txfr">custody_</a>(custody), <a class="code" href="classprophet_1_1Node.html#df5e3e63e03991c7528c78aa0fa3cb85" title="whether bridge to Internet">internet_gateway_</a>(internet), <a class="code" href="classprophet_1_1Node.html#37978147b84bbb9bd2cb9b0135620fd9" title="string representation of route to node">dest_id_</a>(dest_id), <a name="l00065"></a>00065 <a class="code" href="classprophet_1_1Node.html#e53ea58de68128e0b384f24d19265525" title="heap index used by Table">heap_pos_</a>(0) <a name="l00066"></a>00066 { <a name="l00067"></a>00067 <span class="comment">// store local copy of NodeParams</span> <a name="l00068"></a>00068 <span class="keywordflow">if</span> (params != NULL) <a name="l00069"></a>00069 <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> = <span class="keyword">new</span> <a class="code" href="structprophet_1_1NodeParams.html" title="Tunable parameter struct for setting global default values for Prophet node algorithms...">NodeParams</a>(*params); <a name="l00070"></a>00070 <span class="keywordflow">else</span> <a name="l00071"></a>00071 <span class="comment">// take the default if nothing was specified</span> <a name="l00072"></a>00072 <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> = <span class="keyword">new</span> <a class="code" href="structprophet_1_1NodeParams.html" title="Tunable parameter struct for setting global default values for Prophet node algorithms...">NodeParams</a>(); <a name="l00073"></a>00073 <a name="l00074"></a>00074 <span class="comment">// read in current epoch</span> <a name="l00075"></a>00075 <a class="code" href="classprophet_1_1Node.html#78e6ca0a6340e2c8a624652c4885a596" title="age in seconds of last update to p_value">age_</a> = time(0); <a name="l00076"></a>00076 } <a name="l00077"></a>00077 <a name="l00078"></a><a class="code" href="classprophet_1_1Node.html#f598e85c6a112c073971276f5ef6ffe7">00078</a> <a class="code" href="classprophet_1_1Node.html#f598e85c6a112c073971276f5ef6ffe7" title="Destructor.">Node::~Node</a>() <a name="l00079"></a>00079 { <a name="l00080"></a>00080 <span class="keyword">delete</span> <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>; <a name="l00081"></a>00081 } <a name="l00082"></a>00082 <a name="l00083"></a>00083 <span class="keywordtype">void</span> <a name="l00084"></a><a class="code" href="classprophet_1_1Node.html#9365eb7dd51b5d164e40beec48922e22">00084</a> <a class="code" href="classprophet_1_1Node.html#9365eb7dd51b5d164e40beec48922e22" title="Apply the direct contact algorithm, p.">Node::update_pvalue</a>() <a name="l00085"></a>00085 { <a name="l00086"></a>00086 <span class="comment">// validate before proceeding</span> <a name="l00087"></a>00087 <span class="keywordflow">if</span> (!(<a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> >= 0.0 && <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> <= 1.0)) <span class="keywordflow">return</span>; <a name="l00088"></a>00088 <span class="keywordflow">if</span> (<a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> == NULL) <span class="keywordflow">return</span>; <a name="l00089"></a>00089 <a name="l00090"></a>00090 <span class="comment">// new p_value is P_(A,B), previous p_value_ is P_(A,B)_old</span> <a name="l00091"></a>00091 <span class="comment">// params_->encounter_ is P_encounter</span> <a name="l00092"></a>00092 <span class="comment">// A is the local node</span> <a name="l00093"></a>00093 <span class="comment">// B is the node just encountered, represented by this ProphetNode instance</span> <a name="l00094"></a>00094 <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> = <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> + (1.0 - <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a>) * <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>-><a class="code" href="structprophet_1_1NodeParams.html#934c0123add436e36e9e4f42d3d38ed6" title="initial value for p_value">encounter_</a>; <a name="l00095"></a>00095 <a name="l00096"></a>00096 <span class="comment">// update age to reflect data "freshness"</span> <a name="l00097"></a>00097 <a class="code" href="classprophet_1_1Node.html#78e6ca0a6340e2c8a624652c4885a596" title="age in seconds of last update to p_value">age_</a> = time(0); <a name="l00098"></a>00098 } <a name="l00099"></a>00099 <a name="l00100"></a>00100 <span class="keywordtype">void</span> <a name="l00101"></a><a class="code" href="classprophet_1_1Node.html#8c01707e283dc0c3b69bd4f6786a4cb6">00101</a> <a class="code" href="classprophet_1_1Node.html#8c01707e283dc0c3b69bd4f6786a4cb6" title="Apply transitive algorithm, where ab is p_value from local to peer, bc is p_value...">Node::update_transitive</a>(<span class="keywordtype">double</span> ab, <span class="keywordtype">double</span> bc) <a name="l00102"></a>00102 { <a name="l00103"></a>00103 <span class="comment">// validate before proceeding</span> <a name="l00104"></a>00104 <span class="keywordflow">if</span> (!(<a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> >= 0.0 && <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> <= 1.0)) <span class="keywordflow">return</span>; <a name="l00105"></a>00105 <span class="keywordflow">if</span> (!(ab >= 0.0 && ab <= 1.0)) <span class="keywordflow">return</span>; <a name="l00106"></a>00106 <span class="keywordflow">if</span> (!(bc >= 0.0 && bc <= 1.0)) <span class="keywordflow">return</span>; <a name="l00107"></a>00107 <span class="keywordflow">if</span> (<a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> > bc) <span class="keywordflow">return</span>; <a name="l00108"></a>00108 <span class="keywordflow">if</span> (<a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> == NULL) <span class="keywordflow">return</span>; <a name="l00109"></a>00109 <a name="l00110"></a>00110 <span class="comment">// new p_value_ is P_(A,C), previous p_value is P_(A,C)_old</span> <a name="l00111"></a>00111 <span class="comment">// params_->beta_ is beta</span> <a name="l00112"></a>00112 <span class="comment">// A is the local node</span> <a name="l00113"></a>00113 <span class="comment">// B is the node just encountered (originator of RIB)</span> <a name="l00114"></a>00114 <span class="comment">// C is the node represented by this ProphetNode instance</span> <a name="l00115"></a>00115 <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> = (<a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> * <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>-><a class="code" href="structprophet_1_1NodeParams.html#c9635d2eb0bc4a2f2c3ef8f5241bc58e" title="weighting factor for transitive algorithm">beta_</a>) + (1.0 - <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>-><a class="code" href="structprophet_1_1NodeParams.html#c9635d2eb0bc4a2f2c3ef8f5241bc58e" title="weighting factor for transitive algorithm">beta_</a>) * ab * bc * <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>-><a class="code" href="structprophet_1_1NodeParams.html#934c0123add436e36e9e4f42d3d38ed6" title="initial value for p_value">encounter_</a>; <a name="l00116"></a>00116 <a name="l00117"></a>00117 <span class="comment">// update age to reflect data "freshness"</span> <a name="l00118"></a>00118 <a class="code" href="classprophet_1_1Node.html#78e6ca0a6340e2c8a624652c4885a596" title="age in seconds of last update to p_value">age_</a> = time(0); <a name="l00119"></a>00119 } <a name="l00120"></a>00120 <a name="l00121"></a>00121 <span class="keywordtype">void</span> <a name="l00122"></a><a class="code" href="classprophet_1_1Node.html#71b04fb6a94d2ad69945624e80185684">00122</a> <a class="code" href="classprophet_1_1Node.html#71b04fb6a94d2ad69945624e80185684" title="Routes must decrease predictability with the passing of time, p.">Node::update_age</a>() <a name="l00123"></a>00123 { <a name="l00124"></a>00124 <span class="comment">// validate before proceeding</span> <a name="l00125"></a>00125 <span class="keywordflow">if</span> (!(<a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> >= 0.0 && <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> <= 1.0)) <span class="keywordflow">return</span>; <a name="l00126"></a>00126 <span class="keywordflow">if</span> (<a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a> == NULL) <span class="keywordflow">return</span>; <a name="l00127"></a>00127 <a name="l00128"></a>00128 <span class="comment">// new p_value_ is P_(A,B), previous p_value is P_(A,B)_old</span> <a name="l00129"></a>00129 <span class="comment">// params_->gamma_ is gamma</span> <a name="l00130"></a>00130 <span class="comment">// timeunits is k</span> <a name="l00131"></a>00131 u_int32_t now = time(0); <a name="l00132"></a>00132 <a name="l00133"></a>00133 <span class="keywordtype">double</span> agefactor = 1.0; <a name="l00134"></a>00134 <a name="l00135"></a>00135 u_int timeunits = <a class="code" href="classprophet_1_1Node.html#6bddbda80b7a4f77f1d7c29000818c08" title="Use NodeParams::kappa_ milliseconds per unit to convert diff to time units for use...">time_to_units</a>(now - <a class="code" href="classprophet_1_1Node.html#78e6ca0a6340e2c8a624652c4885a596" title="age in seconds of last update to p_value">age_</a>); <a name="l00136"></a>00136 <span class="keywordflow">if</span> (timeunits > 0) <a name="l00137"></a>00137 agefactor = pow( <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>-><a class="code" href="structprophet_1_1NodeParams.html#62ffb277b60f7dd34dc67226b3fbf7ed" title="weighting factor for aging algorithm">gamma_</a>, timeunits ); <a name="l00138"></a>00138 <a name="l00139"></a>00139 <a class="code" href="classprophet_1_1Node.html#3c7049d0e318cb9ad1dbecb4aea32d13" title="predictability value for this node">p_value_</a> *= agefactor; <a name="l00140"></a>00140 <a name="l00141"></a>00141 <span class="comment">// update age to reflect data "freshness"</span> <a name="l00142"></a>00142 <a class="code" href="classprophet_1_1Node.html#78e6ca0a6340e2c8a624652c4885a596" title="age in seconds of last update to p_value">age_</a> = time(0); <a name="l00143"></a>00143 } <a name="l00144"></a>00144 <a name="l00145"></a>00145 u_int <a name="l00146"></a><a class="code" href="classprophet_1_1Node.html#6bddbda80b7a4f77f1d7c29000818c08">00146</a> <a class="code" href="classprophet_1_1Node.html#6bddbda80b7a4f77f1d7c29000818c08" title="Use NodeParams::kappa_ milliseconds per unit to convert diff to time units for use...">Node::time_to_units</a>(u_int32_t timediff)<span class="keyword"> const</span> <a name="l00147"></a>00147 <span class="keyword"></span>{ <a name="l00148"></a>00148 <span class="comment">// prevent div by 0</span> <a name="l00149"></a>00149 <span class="keywordflow">if</span> (<a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>-><a class="code" href="structprophet_1_1NodeParams.html#6420360f31061f42258f36e49b7e9922" title="milliseconds per unit time, aging algorithm">kappa_</a> == 0.0) <span class="keywordflow">return</span> 0; <a name="l00150"></a>00150 <a name="l00151"></a>00151 <span class="comment">// kappa is in units of milliseconds per timeunit</span> <a name="l00152"></a>00152 <span class="keywordflow">return</span> (u_int) (timediff * 1000 / <a class="code" href="classprophet_1_1Node.html#f83ac1e7a06422170af65f1e129a6324" title="global settings for all prophet nodes">params_</a>-><a class="code" href="structprophet_1_1NodeParams.html#6420360f31061f42258f36e49b7e9922" title="milliseconds per unit time, aging algorithm">kappa_</a>); <a name="l00153"></a>00153 } <a name="l00154"></a>00154 <a name="l00155"></a>00155 }; <span class="comment">// namespace prophet</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:46 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>