prophet::FwdDeciderGTMXPLUS Class Reference

Forward the bundle only if P(B,D) > P(A,D) && P(B,D) > P_max && NF < NF_max which is a combination of GTMX and GRTR_PLUS. More...

#include <Decider.h>

Inheritance diagram for prophet::FwdDeciderGTMXPLUS:
prophet::FwdDeciderGRTRPLUS prophet::FwdDeciderGRTR prophet::Decider

List of all members.

Public Member Functions

virtual ~FwdDeciderGTMXPLUS ()
 Destructor.
bool operator() (const Bundle *) const
 Virtual from Decider.

u_int max_forward () const
 Accessors.

Protected Member Functions

 FwdDeciderGTMXPLUS (FwdStrategy::fwd_strategy_t fs, const Link *nexthop, BundleCore *core, const Table *local, const Table *remote, const Stats *stats, u_int max_forward, bool relay)
 Constructor.

Protected Attributes

u_int max_fwd_
 local configuration setting for NF_max

Friends

class Decider

Detailed Description

Forward the bundle only if P(B,D) > P(A,D) && P(B,D) > P_max && NF < NF_max which is a combination of GTMX and GRTR_PLUS.

Definition at line 193 of file Decider.h.


Constructor & Destructor Documentation

virtual prophet::FwdDeciderGTMXPLUS::~FwdDeciderGTMXPLUS (  )  [inline, virtual]

Destructor.

Definition at line 199 of file Decider.h.

prophet::FwdDeciderGTMXPLUS::FwdDeciderGTMXPLUS ( FwdStrategy::fwd_strategy_t  fs,
const Link nexthop,
BundleCore core,
const Table local,
const Table remote,
const Stats stats,
u_int  max_forward,
bool  relay 
) [protected]

Constructor.

Protected to force entry via factory method.

Definition at line 156 of file Decider.cc.


Member Function Documentation

u_int prophet::FwdDeciderGTMXPLUS::max_forward (  )  const [inline]

Accessors.

Definition at line 207 of file Decider.h.

References max_fwd_.

bool prophet::FwdDeciderGTMXPLUS::operator() ( const Bundle b  )  const [virtual]

Friends And Related Function Documentation

friend class Decider [friend]

Reimplemented from prophet::FwdDeciderGRTRPLUS.

Definition at line 210 of file Decider.h.


Member Data Documentation

local configuration setting for NF_max

Definition at line 221 of file Decider.h.

Referenced by max_forward(), and operator()().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 13:21:31 2010 for DTN Reference Implementation by  doxygen 1.6.3