Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::TwoLayerCrossMinSimDraw Class Referenceabstract

#include <ogdf/simultaneous/TwoLayerCrossMinSimDraw.h>

+ Inheritance diagram for ogdf::TwoLayerCrossMinSimDraw:

Public Member Functions

 TwoLayerCrossMinSimDraw ()
 Initializes a two-layer crossing minimization module.
 
void call (Level &L)=0
 Performs crossing minimization for level L.
 
virtual void call (Level &L, const EdgeArray< uint32_t > *esg)=0
 Performs crossing minimization for level L.
 
virtual TwoLayerCrossMinSimDrawclone () const =0
 Returns a new instance of the two-layer crossing minimization module with the same option settings.
 
- Public Member Functions inherited from ogdf::LayerByLayerSweep
 LayerByLayerSweep ()
 Initializes a two-layer crossing minimization module.
 
virtual ~LayerByLayerSweep ()
 
virtual void cleanup () override
 Performs clean-up.
 
virtual void init (const HierarchyLevels &levels)
 Initializes the crossing minimization module for hierarchy levels levels.
 
void operator() (Level &L)
 Performs crossing minimization for level L.
 
virtual const HierarchyLevelsreduceCrossings (const SugiyamaLayout &sugi, const Hierarchy &H, int &nCrossings)
 
virtual const HierarchyLevelsreduceCrossings (const SugiyamaLayout &sugi, Hierarchy &H, int &nCrossings) override
 Template method implementation of reduceCrossings from LayeredCrossMinModule.
 
- Public Member Functions inherited from ogdf::LayeredCrossMinModule
 LayeredCrossMinModule ()
 Creates empty module.
 
virtual ~LayeredCrossMinModule ()
 Destruct.
 

Detailed Description

Definition at line 39 of file TwoLayerCrossMinSimDraw.h.

Constructor & Destructor Documentation

◆ TwoLayerCrossMinSimDraw()

ogdf::TwoLayerCrossMinSimDraw::TwoLayerCrossMinSimDraw ( )
inline

Initializes a two-layer crossing minimization module.

Definition at line 42 of file TwoLayerCrossMinSimDraw.h.

Member Function Documentation

◆ call() [1/2]

void ogdf::TwoLayerCrossMinSimDraw::call ( Level L)
pure virtual

Performs crossing minimization for level L.

Parameters
Lis the level in the hierarchy on which nodes are permuted; the neighbor level (fixed level) is determined by the hierarchy.

Implements ogdf::LayerByLayerSweep.

Implemented in ogdf::SplitHeuristic.

◆ call() [2/2]

virtual void ogdf::TwoLayerCrossMinSimDraw::call ( Level L,
const EdgeArray< uint32_t > *  esg 
)
pure virtual

Performs crossing minimization for level L.

Parameters
Lis the level in the hierarchy on which nodes are permuted; the neighbor level (fixed level) is determined by the hierarchy.
esgpoints to an edge array which specifies to which subgraphs an edge belongs; there are up to 32 possible subgraphs each of which is represented by a bit of an uint32_t.

Implemented in ogdf::SplitHeuristic.

◆ clone()

virtual TwoLayerCrossMinSimDraw * ogdf::TwoLayerCrossMinSimDraw::clone ( ) const
pure virtual

Returns a new instance of the two-layer crossing minimization module with the same option settings.

Implements ogdf::LayerByLayerSweep.

Implemented in ogdf::SplitHeuristic.


The documentation for this class was generated from the following file: