prophet::FwdDeciderGRTR Class Reference

Forward the bundle only if P(B,D) > P(A,D). More...

#include <Decider.h>

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

List of all members.

Public Member Functions

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

Protected Member Functions

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

Friends

class Decider

Detailed Description

Forward the bundle only if P(B,D) > P(A,D).

That is, predictability for route via peer is greater than route's predictability locally

Definition at line 97 of file Decider.h.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 103 of file Decider.h.

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

Constructor.

Protected to force entry via factory method.

Definition at line 25 of file Decider.cc.


Member Function Documentation

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

Friends And Related Function Documentation

friend class Decider [friend]

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