Compares incident edges of a node based on the position of the last bend point or the position of the adjacent node given by the layout information of the graph. More...
#include <ogdf/basic/EdgeComparerSimple.h>
Public Member Functions | |
EdgeComparerSimple (const GraphAttributes &AG, const node v, bool useBends=true) | |
int | compare (const adjEntry &e1, const adjEntry &e2) const override |
Compares x and y and returns the result as an integer. | |
Public Member Functions inherited from ogdf::VComparer< adjEntry > | |
VComparer () | |
Initializes a comparer. | |
virtual | ~VComparer () |
virtual bool | equal (const adjEntry &x, const adjEntry &y) const |
Returns true iff x = y . | |
virtual bool | geq (const adjEntry &x, const adjEntry &y) const |
Returns true iff x >= y . | |
virtual bool | greater (const adjEntry &x, const adjEntry &y) const |
Returns true iff x > y . | |
virtual bool | leq (const adjEntry &x, const adjEntry &y) const |
Returns true iff x <= y . | |
virtual bool | less (const adjEntry &x, const adjEntry &y) const |
Returns true iff x < y . | |
Private Attributes | |
const GraphAttributes * | m_AG |
node | m_basis |
bool | m_useBends |
true iff the algorithm should consider the bend-points | |
Compares incident edges of a node based on the position of the last bend point or the position of the adjacent node given by the layout information of the graph.
Definition at line 44 of file EdgeComparerSimple.h.
|
inline |
Definition at line 46 of file EdgeComparerSimple.h.
|
overridevirtual |
Compares x
and y
and returns the result as an integer.
The returns value is
Implements ogdf::VComparer< adjEntry >.
|
private |
Definition at line 53 of file EdgeComparerSimple.h.
|
private |
Definition at line 52 of file EdgeComparerSimple.h.
|
private |
true
iff the algorithm should consider the bend-points
Definition at line 54 of file EdgeComparerSimple.h.