<!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: prophet::NodeParams Struct Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceprophet.html">prophet</a>::<a class="el" href="structprophet_1_1NodeParams.html">NodeParams</a> </div> </div> <div class="contents"> <h1>prophet::NodeParams Struct Reference</h1><!-- doxytag: class="prophet::NodeParams" --><code>#include <<a class="el" href="servlib_2prophet_2Node_8h-source.html">Node.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for prophet::NodeParams:</div> <div class="dynsection"> <p><center><img src="structprophet_1_1NodeParams.png" usemap="#prophet::NodeParams_map" border="0" alt=""></center> <map name="prophet::NodeParams_map"> <area href="classprophet_1_1ProphetParams.html" alt="prophet::ProphetParams" shape="rect" coords="0,56,147,80"> </map> </div> <p> <a href="structprophet_1_1NodeParams-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Tunable parameter struct for setting global default values for Prophet node algorithms. <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00036">36</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#a9e78cb24c7584fb98956b03e5926a2b">NodeParams</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#47b6055488f4d18f45018b9fa1759922">~NodeParams</a> ()</td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#934c0123add436e36e9e4f42d3d38ed6">encounter_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">initial value for p_value <a href="#934c0123add436e36e9e4f42d3d38ed6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#c9635d2eb0bc4a2f2c3ef8f5241bc58e">beta_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">weighting factor for transitive algorithm <a href="#c9635d2eb0bc4a2f2c3ef8f5241bc58e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#62ffb277b60f7dd34dc67226b3fbf7ed">gamma_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">weighting factor for aging algorithm <a href="#62ffb277b60f7dd34dc67226b3fbf7ed"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#6420360f31061f42258f36e49b7e9922">kappa_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">milliseconds per unit time, aging algorithm <a href="#6420360f31061f42258f36e49b7e9922"></a><br></td></tr> <tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const double </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#ea9a3e2edf9e04edfd6282d27d621454">DEFAULT_P_ENCOUNTER</a> = 0.75</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default initialization values, p. <a href="#ea9a3e2edf9e04edfd6282d27d621454"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const double </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#1860ee3f76d4b409a53f15d39739d964">DEFAULT_BETA</a> = 0.25</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default initialization values, p. <a href="#1860ee3f76d4b409a53f15d39739d964"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const double </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#5a59c293aeb8704cb5abe2b003aa35de">DEFAULT_GAMMA</a> = 0.99</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default initialization values, p. <a href="#5a59c293aeb8704cb5abe2b003aa35de"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const u_int </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1NodeParams.html#24476b6c796c0cc96e4be37d3df301bd">DEFAULT_KAPPA</a> = 100</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The kappa variable describes how many milliseconds-per-timeunit (for equation 2, p.9, section 2.1.1). <a href="#24476b6c796c0cc96e4be37d3df301bd"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="a9e78cb24c7584fb98956b03e5926a2b"></a><!-- doxytag: member="prophet::NodeParams::NodeParams" ref="a9e78cb24c7584fb98956b03e5926a2b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">prophet::NodeParams::NodeParams </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00059">59</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> </div> </div><p> <a class="anchor" name="47b6055488f4d18f45018b9fa1759922"></a><!-- doxytag: member="prophet::NodeParams::~NodeParams" ref="47b6055488f4d18f45018b9fa1759922" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual prophet::NodeParams::~NodeParams </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00065">65</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="ea9a3e2edf9e04edfd6282d27d621454"></a><!-- doxytag: member="prophet::NodeParams::DEFAULT_P_ENCOUNTER" ref="ea9a3e2edf9e04edfd6282d27d621454" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const double <a class="el" href="structprophet_1_1NodeParams.html#ea9a3e2edf9e04edfd6282d27d621454">prophet::NodeParams::DEFAULT_P_ENCOUNTER</a> = 0.75<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> Default initialization values, p. <p> 15, 3.3, figure 2 <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00041">41</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> </div> </div><p> <a class="anchor" name="1860ee3f76d4b409a53f15d39739d964"></a><!-- doxytag: member="prophet::NodeParams::DEFAULT_BETA" ref="1860ee3f76d4b409a53f15d39739d964" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const double <a class="el" href="structprophet_1_1NodeParams.html#1860ee3f76d4b409a53f15d39739d964">prophet::NodeParams::DEFAULT_BETA</a> = 0.25<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> Default initialization values, p. <p> 15, 3.3, figure 2 <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00046">46</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> </div> </div><p> <a class="anchor" name="5a59c293aeb8704cb5abe2b003aa35de"></a><!-- doxytag: member="prophet::NodeParams::DEFAULT_GAMMA" ref="5a59c293aeb8704cb5abe2b003aa35de" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const double <a class="el" href="structprophet_1_1NodeParams.html#5a59c293aeb8704cb5abe2b003aa35de">prophet::NodeParams::DEFAULT_GAMMA</a> = 0.99<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> Default initialization values, p. <p> 15, 3.3, figure 2 <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00051">51</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> </div> </div><p> <a class="anchor" name="24476b6c796c0cc96e4be37d3df301bd"></a><!-- doxytag: member="prophet::NodeParams::DEFAULT_KAPPA" ref="24476b6c796c0cc96e4be37d3df301bd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const u_int <a class="el" href="structprophet_1_1NodeParams.html#24476b6c796c0cc96e4be37d3df301bd">prophet::NodeParams::DEFAULT_KAPPA</a> = 100<code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> The kappa variable describes how many milliseconds-per-timeunit (for equation 2, p.9, section 2.1.1). <p> <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00057">57</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> </div> </div><p> <a class="anchor" name="934c0123add436e36e9e4f42d3d38ed6"></a><!-- doxytag: member="prophet::NodeParams::encounter_" ref="934c0123add436e36e9e4f42d3d38ed6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structprophet_1_1NodeParams.html#934c0123add436e36e9e4f42d3d38ed6">prophet::NodeParams::encounter_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> initial value for p_value <p> <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00067">67</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> <p>Referenced by <a class="el" href="servlib_2prophet_2Node_8cc-source.html#l00084">prophet::Node::update_pvalue()</a>, and <a class="el" href="servlib_2prophet_2Node_8cc-source.html#l00101">prophet::Node::update_transitive()</a>.</p> </div> </div><p> <a class="anchor" name="c9635d2eb0bc4a2f2c3ef8f5241bc58e"></a><!-- doxytag: member="prophet::NodeParams::beta_" ref="c9635d2eb0bc4a2f2c3ef8f5241bc58e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structprophet_1_1NodeParams.html#c9635d2eb0bc4a2f2c3ef8f5241bc58e">prophet::NodeParams::beta_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> weighting factor for transitive algorithm <p> <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00068">68</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> <p>Referenced by <a class="el" href="servlib_2prophet_2Node_8cc-source.html#l00101">prophet::Node::update_transitive()</a>.</p> </div> </div><p> <a class="anchor" name="62ffb277b60f7dd34dc67226b3fbf7ed"></a><!-- doxytag: member="prophet::NodeParams::gamma_" ref="62ffb277b60f7dd34dc67226b3fbf7ed" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structprophet_1_1NodeParams.html#62ffb277b60f7dd34dc67226b3fbf7ed">prophet::NodeParams::gamma_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> weighting factor for aging algorithm <p> <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00069">69</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> <p>Referenced by <a class="el" href="servlib_2prophet_2Node_8cc-source.html#l00122">prophet::Node::update_age()</a>.</p> </div> </div><p> <a class="anchor" name="6420360f31061f42258f36e49b7e9922"></a><!-- doxytag: member="prophet::NodeParams::kappa_" ref="6420360f31061f42258f36e49b7e9922" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int <a class="el" href="structprophet_1_1NodeParams.html#6420360f31061f42258f36e49b7e9922">prophet::NodeParams::kappa_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> milliseconds per unit time, aging algorithm <p> <p>Definition at line <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00070">70</a> of file <a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a>.</p> <p>Referenced by <a class="el" href="servlib_2prophet_2Node_8cc-source.html#l00146">prophet::Node::time_to_units()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following files:<ul> <li><a class="el" href="servlib_2prophet_2Node_8h-source.html">servlib/prophet/Node.h</a><li><a class="el" href="servlib_2prophet_2Node_8cc-source.html">servlib/prophet/Node.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:56 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>