sanity check for nodes in loaded graph
This commit is contained in:
parent
171815c9b7
commit
77df6616a9
@ -130,6 +130,10 @@ int main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(graph->GetOutDegree(node) == 0)
|
||||||
|
{
|
||||||
|
cerr << "found node with degree 0: " << node << endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
cout << "in " << get_timestamp() - time << "s" << endl;
|
cout << "in " << get_timestamp() - time << "s" << endl;
|
||||||
cout << "building search graph ..." << flush;
|
cout << "building search graph ..." << flush;
|
||||||
|
Loading…
Reference in New Issue
Block a user