13 <<
"Invalid neighbour "<< dst
23 if(
start ==
nullptr) {
36 cerr <<
"Invalid neighbour" << endl;
62 for(
auto & e : *table) {
63 const DCAddr & dst = e.first;
65 if(dst ==
Im) {
continue; }
73 if((dst.
b ==
Im.
b && tn.
d > 2)
74 || (dst.
b !=
Im.
b && tn.
d > 4)
81 if(tn.
d > 1 || (
int)tn.
L.size() != 1) {
84 }
else if ((dst.
a !=
Im.
a && tn.
d > 5)
90 if((dst.
b ==
Im.
b && tn.
d > 2)
91 || (dst.
a !=
Im.
a && tn.
d > 6)
set< DCAddr > getNotOptimalDst(map< DCAddr, tableNode > *table)
Register_Class(SimpleDCGenerator)
map< linkId, linkInfo > linksKo
map< linkId, linkInfo > myLinks
void insert(set< const linkId * > Ls)
void inactiveNeigh(const DCAddr &dst)
void activeNeigh(const DCAddr &dst)