Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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. More...
 
void call (Level &L)=0
 Performs crossing minimization for level L. More...
 
virtual void call (Level &L, const EdgeArray< uint32_t > *esg)=0
 Performs crossing minimization for level L. More...
 
virtual TwoLayerCrossMinSimDrawclone () const =0
 Returns a new instance of the two-layer crossing minimization module with the same option settings. More...
 
- Public Member Functions inherited from ogdf::LayerByLayerSweep
 LayerByLayerSweep ()
 Initializes a two-layer crossing minimization module. More...
 
virtual ~LayerByLayerSweep ()
 
virtual void cleanup () override
 Performs clean-up. More...
 
virtual void init (const HierarchyLevels &levels)
 Initializes the crossing minimization module for hierarchy levels levels. More...
 
void operator() (Level &L)
 Performs crossing minimization for level L. More...
 
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. More...
 
- Public Member Functions inherited from ogdf::LayeredCrossMinModule
 LayeredCrossMinModule ()
 Creates empty module. More...
 
virtual ~LayeredCrossMinModule ()
 Destruct. More...
 

Detailed Description

Definition at line 44 of file TwoLayerCrossMinSimDraw.h.

Constructor & Destructor Documentation

◆ TwoLayerCrossMinSimDraw()

ogdf::TwoLayerCrossMinSimDraw::TwoLayerCrossMinSimDraw ( )
inline

Initializes a two-layer crossing minimization module.

Definition at line 47 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: