The grid sifting heuristic for crossing minimization. More...
#include <ogdf/layered/GridSifting.h>
Inheritance diagram for ogdf::GridSifting:Public Member Functions | |
| GridSifting () | |
| Creates a new instance of the global sifting heuristic. More... | |
| const HierarchyLevelsBase * | reduceCrossings (const SugiyamaLayout &sugi, Hierarchy &H) |
| implementation of interface LayeredCrossMinModule. More... | |
| int | verticalStepsBound () |
| Returns the current setting of option verticalStepsBound. More... | |
| void | verticalStepsBound (int b) |
Sets the option verticalStepsBound to b. More... | |
Public Member Functions inherited from ogdf::LayeredCrossMinModule | |
| LayeredCrossMinModule () | |
| Creates empty module. More... | |
| virtual | ~LayeredCrossMinModule () |
| Destruct. More... | |
| virtual void | cleanup () |
| Performs clean-up. More... | |
| virtual const HierarchyLevelsBase * | reduceCrossings (const SugiyamaLayout &sugi, Hierarchy &H, int &nCrossings)=0 |
| Calls the actual crossing minimization algorithm. More... | |
Private Attributes | |
| int | m_verticalStepsBound |
The grid sifting heuristic for crossing minimization.
Implementation of the grid sifting heuristic based on C. Bachmaier, W. Brunner, A. Gleißner, Grid Sifting: Leveling and Crossing Reduction, Technical Report MIP-1103, University of Passau, 2011.
This class implements the interface LayeredCrossMinModule and should be used as a part of the Sugiyama algorithm for drawing layered graphs.
Definition at line 102 of file GridSifting.h.
|
inline |
Creates a new instance of the global sifting heuristic.
Definition at line 106 of file GridSifting.h.
|
inline |
implementation of interface LayeredCrossMinModule.
Definition at line 109 of file GridSifting.h.
|
inline |
Returns the current setting of option verticalStepsBound.
This option determines, how many levels can be traversed in vertical step of the grid sifting algorithm.
Definition at line 126 of file GridSifting.h.
|
inline |
Sets the option verticalStepsBound to b.
Definition at line 129 of file GridSifting.h.
|
private |
Definition at line 132 of file GridSifting.h.