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: pavlin on kobe.xorp.net on Wed Jan 7 19:11:15 2009, using kdoc 2.0a54+XORP.