53 return a->index() - b->index();
Declarations for Comparer objects.
#define OGDF_AUGMENT_COMPARER(type)
Add this macro to your class to turn it into a full comparer.
int compare(const T &a, const T &b) const
The IndexComparer compares entities like nodes, edges, adjacency entries, based on their index...
The namespace for all OGDF objects.