|TwoHopLinkOrderPred (Neighborhood *nh)|
|bool||operator() (const OlsrTypes::TwoHopLinkID lhid, const OlsrTypes::TwoHopLinkID rhid)|
|Determine if a two-hop link is better than another two-hop link. |
Orders a sequence of OlsrTypes::TwoHopLinkID in descending order of link preference.
Model of StrictWeakOrdering.
|bool TwoHopLinkOrderPred::operator()||(||const OlsrTypes::TwoHopLinkID||lhid,|
Determine if a two-hop link is better than another two-hop link.
Collation order: most recently updated, highest ID. TODO: Use ETX measurements.