<!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: FwdStrategy.h File 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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="contents"> <h1>FwdStrategy.h File Reference</h1> <p> <code>#include <algorithm></code><br> <code>#include "<a class="el" href="prophet_2Bundle_8h-source.html">Bundle.h</a>"</code><br> <code>#include "<a class="el" href="Table_8h-source.html">Table.h</a>"</code><br> <p> <a href="FwdStrategy_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprophet.html">prophet</a></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1FwdStrategy.html">prophet::FwdStrategy</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyComp.html">prophet::FwdStrategyComp</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Prophet forwarding strategy is laid out in Prophet I-D March 2006 Section 3.6, and involves two pieces: a decider function and a sort order. <a href="classprophet_1_1FwdStrategyComp.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRSORT.html">prophet::FwdStrategyCompGRTRSORT</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Comparator for sorting Bundles according to GRTRSort, Section 3.6, Prophet March 2006. <a href="classprophet_1_1FwdStrategyCompGRTRSORT.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html">prophet::FwdStrategyCompGRTRMAX</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1BundleOfferComp.html">prophet::BundleOfferComp</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Due to extensive use of copy constructors in the STL, any inheritance hierarchy of comparators will always get "clipped" back to the base type. <a href="structprophet_1_1BundleOfferComp.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="FwdStrategy_8h.html#1ba592eabb0b2c8c3744b138dac41ca8">CASE</a>(_f_s) case _f_s: return # _f_s</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="1ba592eabb0b2c8c3744b138dac41ca8"></a><!-- doxytag: member="FwdStrategy.h::CASE" ref="1ba592eabb0b2c8c3744b138dac41ca8" args="(_f_s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CASE </td> <td>(</td> <td class="paramtype">_f_s </td> <td class="paramname"> </td> <td> ) </td> <td> case _f_s: return # _f_s</td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:49 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>