Implements crossings matrix which is used by some TwoLayerCrossingMinimization heuristics (e.g. split) More...
#include <ogdf/layered/CrossingsMatrix.h>
Public Member Functions | |
CrossingsMatrix () | |
CrossingsMatrix (const HierarchyLevels &levels) | |
~CrossingsMatrix () | |
void | init (Level &L) |
ordinary init | |
void | init (Level &L, const EdgeArray< uint32_t > *edgeSubGraphs) |
SimDraw init. | |
int | operator() (int i, int j) const |
void | swap (int i, int j) |
Private Attributes | |
int | m_bigM |
need this for SimDraw to grant epsilon-crossings instead of zero-crossings | |
Array< int > | map |
Array2D< int > | matrix |
Implements crossings matrix which is used by some TwoLayerCrossingMinimization heuristics (e.g. split)
Definition at line 44 of file CrossingsMatrix.h.
|
inline |
Definition at line 46 of file CrossingsMatrix.h.
|
explicit |
|
inline |
Definition at line 50 of file CrossingsMatrix.h.
SimDraw init.
Definition at line 52 of file CrossingsMatrix.h.
Definition at line 54 of file CrossingsMatrix.h.
|
private |
need this for SimDraw to grant epsilon-crossings instead of zero-crossings
Definition at line 66 of file CrossingsMatrix.h.
Definition at line 63 of file CrossingsMatrix.h.
Definition at line 64 of file CrossingsMatrix.h.