Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::embedding_inserter::CrossingsBucket< PLANREP > Class Template Reference

Bucket function for sorting edges by decreasing number of crossings. More...

#include <ogdf/planarity/embedding_inserter/CrossingsBucket.h>

+ Inheritance diagram for ogdf::embedding_inserter::CrossingsBucket< PLANREP >:

Public Member Functions

 CrossingsBucket (const PLANREP *pPG)
 
int getBucket (const edge &e) override
 Returns the bucket of x. More...
 
- Public Member Functions inherited from ogdf::BucketFunc< edge >
virtual ~BucketFunc ()
 

Private Attributes

const PLANREP * m_pPG
 

Detailed Description

template<typename PLANREP>
class ogdf::embedding_inserter::CrossingsBucket< PLANREP >

Bucket function for sorting edges by decreasing number of crossings.

Definition at line 42 of file CrossingsBucket.h.

Constructor & Destructor Documentation

◆ CrossingsBucket()

template<typename PLANREP >
ogdf::embedding_inserter::CrossingsBucket< PLANREP >::CrossingsBucket ( const PLANREP *  pPG)
inlineexplicit

Definition at line 46 of file CrossingsBucket.h.

Member Function Documentation

◆ getBucket()

template<typename PLANREP >
int ogdf::embedding_inserter::CrossingsBucket< PLANREP >::getBucket ( const edge x)
inlineoverridevirtual

Returns the bucket of x.

Implements ogdf::BucketFunc< edge >.

Definition at line 48 of file CrossingsBucket.h.

Member Data Documentation

◆ m_pPG

template<typename PLANREP >
const PLANREP* ogdf::embedding_inserter::CrossingsBucket< PLANREP >::m_pPG
private

Definition at line 43 of file CrossingsBucket.h.


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