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: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:13 2008, using kdoc 2.0a54+XORP.