#include <ogdf/upward/LayerBasedUPRLayout.h>
|
bool | checkUp (node vUPR, int level) const |
| Returns true iff there is a node above vUPR with rank level or lower.
|
|
void | dfs_LR (edge e, NodeArray< bool > &visited, NodeArray< int > &dfsNum, int &num) |
| Traverses with dfs using edge order from left to right and compute the dfs number.
|
|
bool | left (edge e1UPR, edge e2UPR) const |
| Returns true iff vUPR1 is on the left-hand side of vUPR2 according to m_UPR.
|
|
bool | left (List< edge > &chain1, List< edge > &chain2, int level) const |
| Returns true iff vUPR1 is on the left-hand side of vUPR2 according to m_UPR.
|
|
bool | left (node vUPR1, const List< edge > &chain1, node vUPR2, const List< edge > &chain2) const |
| Returns true if vUPR1 is on the left-hand side of vUPR2 according to m_UPR.
|
|
Definition at line 47 of file LayerBasedUPRLayout.h.
◆ OrderComparer()
◆ checkUp()
bool ogdf::OrderComparer::checkUp |
( |
node |
vUPR, |
|
|
int |
level |
|
) |
| const |
|
private |
Returns true iff there is a node above vUPR
with rank level
or lower.
◆ dfs_LR()
Traverses with dfs using edge order from left to right and compute the dfs number.
◆ left() [1/3]
bool ogdf::OrderComparer::left |
( |
edge |
e1UPR, |
|
|
edge |
e2UPR |
|
) |
| const |
|
private |
Returns true iff vUPR1
is on the left-hand side of vUPR2
according to m_UPR.
- Precondition
- source or target of both edges must be identical
◆ left() [2/3]
Returns true iff vUPR1
is on the left-hand side of vUPR2
according to m_UPR.
Used only by method less for the case when both node vH1 and vH2 are long-edge dummies, where level
is the current level of the long-edge dummies
◆ left() [3/3]
Returns true if vUPR1
is on the left-hand side of vUPR2
according to m_UPR.
- Parameters
-
vUPR1 | the node that is tested to be on the left-hand side |
chain1 | if vUPR1 is associated with a long edge dummy vH1, then chain1 contain vH1 |
vUPR2 | the other node |
chain2 | if vUPR2 is associated with a long edge dummy vH2, then chain2 contain vH2 |
◆ less()
Returns true iff vH1
and vH2
are placed on the same layer and node vH1
has to drawn on the left-hand side of vH2
(according to m_UPR)
◆ crossed
◆ m_dfsNum
◆ m_UPR
The documentation for this class was generated from the following file: