prophet::FwdDeciderGRTRPLUS Class Reference

Forward the bundle only if P(B,D) > P(A,D) (same as GRTR) and if P(B,D) > P_max where P_max is the largest delivery predictability reported by a node to which the bundle has been sent so far. More...

#include <Decider.h>

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

List of all members.

Public Member Functions

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

Protected Member Functions

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

Friends

class Decider

Detailed Description

Forward the bundle only if P(B,D) > P(A,D) (same as GRTR) and if P(B,D) > P_max where P_max is the largest delivery predictability reported by a node to which the bundle has been sent so far.

Definition at line 162 of file Decider.h.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 168 of file Decider.h.

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

Constructor.

Protected to force entry via factory method.

Definition at line 118 of file Decider.cc.


Member Function Documentation

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

Friends And Related Function Documentation

friend class Decider [friend]

Reimplemented from prophet::FwdDeciderGRTR.

Reimplemented in prophet::FwdDeciderGTMXPLUS.

Definition at line 176 of file Decider.h.


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