Queuing policy comparator LEPR. More...
#include <QueuePolicy.h>
Public Member Functions | |
| virtual | ~QueueCompLEPR () |
| Destructor. | |
| virtual bool | operator() (const Bundle *a, const Bundle *b) const |
| Virtual from std::greater. | |
Protected Member Functions | |
| QueueCompLEPR (QueuePolicy::q_policy_t qp, const Table *nodes, u_int min_forward) | |
| Constructor, protected to enforce factory method. | |
Friends | |
| class | QueuePolicy |
Queuing policy comparator LEPR.
Definition at line 314 of file QueuePolicy.h.
| virtual prophet::QueueCompLEPR::~QueueCompLEPR | ( | ) | [inline, virtual] |
Destructor.
Definition at line 320 of file QueuePolicy.h.
| prophet::QueueCompLEPR::QueueCompLEPR | ( | QueuePolicy::q_policy_t | qp, | |
| const Table * | nodes, | |||
| u_int | min_forward | |||
| ) | [inline, protected] |
Constructor, protected to enforce factory method.
Definition at line 344 of file QueuePolicy.h.
| virtual bool prophet::QueueCompLEPR::operator() | ( | const Bundle * | a, | |
| const Bundle * | b | |||
| ) | const [inline, virtual] |
Virtual from std::greater.
Reimplemented from prophet::QueueComp.
Definition at line 325 of file QueuePolicy.h.
References prophet::QueueComp::nodes_, prophet::Table::p_value(), prophet::Bundle::sequence_num(), and prophet::QueueComp::verbose_.
friend class QueuePolicy [friend] |
Reimplemented from prophet::QueueComp.
Definition at line 339 of file QueuePolicy.h.
1.6.3