struct CandMprOrderPred

Orders a sequence of Neighbor* in descending order of MPR candidacy. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Model of StrictWeakOrdering.

bool  operator() (const Neighbor* lhs, const Neighbor* rhs)

operator()

[const]

Compare two Neighbors based on their MPR candidacy. It is assumed both pointers are valid for the scope of the functor.

Collation order: willingness, reachability, degree.

Returns: true if lhs comes before rhs.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:13 2008, using kdoc 2.0a54+XORP.