#include <ogdf/basic/NodeComparer.h>
Public Member Functions | |
| NodeComparer (NodeArray< sorterType > &valArray, bool ascending=true) | |
| int | compare (const node &v1, const node &v2) const |
| void | init (NodeArray< sorterType > &valArray) |
| bool | less (const node &x, const node &y) const |
| bool | leq (const node &x, const node &y) const |
| bool | greater (const node &x, const node &y) const |
| bool | geq (const node &x, const node &y) const |
| bool | equal (const node &x, const node &y) const |
Private Attributes | |
| NodeArray< sorterType > * | m_valArray |
| int | m_smaller |
Definition at line 67 of file NodeComparer.h.
| ogdf::NodeComparer< sorterType >::NodeComparer | ( | NodeArray< sorterType > & | valArray, | |
| bool | ascending = true | |||
| ) | [inline] |
Definition at line 70 of file NodeComparer.h.
| int ogdf::NodeComparer< sorterType >::compare | ( | const node & | v1, | |
| const node & | v2 | |||
| ) | const [inline] |
Definition at line 86 of file NodeComparer.h.
| bool ogdf::NodeComparer< sorterType >::equal | ( | const node & | x, | |
| const node & | y | |||
| ) | const [inline] |
Definition at line 95 of file NodeComparer.h.
| bool ogdf::NodeComparer< sorterType >::geq | ( | const node & | x, | |
| const node & | y | |||
| ) | const [inline] |
Definition at line 95 of file NodeComparer.h.
| bool ogdf::NodeComparer< sorterType >::greater | ( | const node & | x, | |
| const node & | y | |||
| ) | const [inline] |
Definition at line 95 of file NodeComparer.h.
| void ogdf::NodeComparer< sorterType >::init | ( | NodeArray< sorterType > & | valArray | ) | [inline] |
Definition at line 93 of file NodeComparer.h.
| bool ogdf::NodeComparer< sorterType >::leq | ( | const node & | x, | |
| const node & | y | |||
| ) | const [inline] |
Definition at line 95 of file NodeComparer.h.
| bool ogdf::NodeComparer< sorterType >::less | ( | const node & | x, | |
| const node & | y | |||
| ) | const [inline] |
Definition at line 95 of file NodeComparer.h.
int ogdf::NodeComparer< sorterType >::m_smaller [private] |
Definition at line 99 of file NodeComparer.h.
NodeArray<sorterType>* ogdf::NodeComparer< sorterType >::m_valArray [private] |
Definition at line 98 of file NodeComparer.h.