Class representing idea of Blocks used in GlobalSifting and GridSifting algorithms. More...
#include <ogdf/layered/BlockOrder.h>
Public Member Functions | |
Block (edge e) | |
Creates new edge block for an edge e . | |
Block (node v) | |
Creates new vertex block for a node v . | |
~Block () | |
bool | isEdgeBlock () |
bool | isVertexBlock () |
Private Attributes | |
edge | m_Edge = nullptr |
The edge for which this block was created. | |
int | m_index = 0 |
The index of this block in BlockOrder. | |
Array< int > | m_InvertedIncoming |
Positions of this block in m_NeighboursOutgoing of neighbours. | |
Array< int > | m_InvertedOutgoing |
Positions of this block in m_NeighboursIncoming of neighbours. | |
bool | m_isEdgeBlock |
bool | m_isNodeBlock |
int | m_lower = 0 |
The bottom level of this block. | |
Array< int > | m_NeighboursIncoming |
Indices of neighbouring incoming blocks. | |
Array< int > | m_NeighboursOutgoing |
Indices of neighbouring outgoing blocks. | |
node | m_Node = nullptr |
The node for which this block was created. | |
Array< node > | m_nodes |
Vertices from the proper hierarchy corresponding to this block. | |
int | m_upper = 0 |
The top level of this block. | |
Friends | |
class | BlockOrder |
Class representing idea of Blocks used in GlobalSifting and GridSifting algorithms.
For more information see papers and BlockOrder.
Definition at line 70 of file BlockOrder.h.
|
inline |
Definition at line 98 of file BlockOrder.h.
|
explicit |
Creates new vertex block for a node v
.
|
explicit |
Creates new edge block for an edge e
.
|
inline |
Definition at line 100 of file BlockOrder.h.
|
inline |
Definition at line 102 of file BlockOrder.h.
|
friend |
Definition at line 71 of file BlockOrder.h.
The edge for which this block was created.
Definition at line 92 of file BlockOrder.h.
|
private |
The index of this block in BlockOrder.
Definition at line 74 of file BlockOrder.h.
Positions of this block in m_NeighboursOutgoing of neighbours.
Definition at line 84 of file BlockOrder.h.
Positions of this block in m_NeighboursIncoming of neighbours.
Definition at line 88 of file BlockOrder.h.
|
private |
Definition at line 94 of file BlockOrder.h.
|
private |
Definition at line 95 of file BlockOrder.h.
|
private |
The bottom level of this block.
Definition at line 78 of file BlockOrder.h.
Indices of neighbouring incoming blocks.
Definition at line 82 of file BlockOrder.h.
Indices of neighbouring outgoing blocks.
Definition at line 86 of file BlockOrder.h.
The node for which this block was created.
Definition at line 91 of file BlockOrder.h.
Vertices from the proper hierarchy corresponding to this block.
Definition at line 80 of file BlockOrder.h.
|
private |
The top level of this block.
Definition at line 76 of file BlockOrder.h.