struct TwoHopLinkOrderPred

Orders a sequence of OlsrTypes::TwoHopLinkID in descending order of link preference. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Members


Detailed Description

Model of StrictWeakOrdering.

Neighborhood* _nh

_nh

inline  TwoHopLinkOrderPred (Neighborhood* nh)

TwoHopLinkOrderPred

bool  operator() (const OlsrTypes::TwoHopLinkID lhid, const OlsrTypes::TwoHopLinkID rhid)

operator()

Determine if a two-hop link is better than another two-hop link.

Collation order: most recently updated, highest ID. TODO: Use ETX measurements.

Returns: true if link lhid is better than link rhid.


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:15 2009, using kdoc 2.0a54+XORP.