Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::RoutingChannel< ATYPE > Class Template Reference

Maintains input sizes for constructive compaction (size of routing channels, separation, cOverhang) More...

#include <ogdf/orthogonal/internal/RoutingChannel.h>

Classes

struct  vInfo
 

Public Member Functions

 RoutingChannel (const Graph &G, ATYPE sep, double cOver)
 
void computeRoutingChannels (const OrthoRep &OR, bool align=false)
 
double cOverhang () const
 
ATYPE & operator() (node v, OrthoDir dir)
 
const ATYPE & operator() (node v, OrthoDir dir) const
 
ATYPE overhang () const
 
ATYPE separation () const
 

Private Member Functions

int computeRoutingChannel (const OrthoRep::SideInfoUML &si, const OrthoRep::SideInfoUML &siOpp, bool align=false)
 

Private Attributes

NodeArray< vInfom_channel
 
double m_cOverhang
 
ATYPE m_separation
 

Detailed Description

template<class ATYPE>
class ogdf::RoutingChannel< ATYPE >

Maintains input sizes for constructive compaction (size of routing channels, separation, cOverhang)

Definition at line 43 of file RoutingChannel.h.

Constructor & Destructor Documentation

◆ RoutingChannel()

template<class ATYPE >
ogdf::RoutingChannel< ATYPE >::RoutingChannel ( const Graph G,
ATYPE  sep,
double  cOver 
)
inline

Definition at line 47 of file RoutingChannel.h.

Member Function Documentation

◆ computeRoutingChannel()

template<class ATYPE >
int ogdf::RoutingChannel< ATYPE >::computeRoutingChannel ( const OrthoRep::SideInfoUML si,
const OrthoRep::SideInfoUML siOpp,
bool  align = false 
)
inlineprivate

Definition at line 98 of file RoutingChannel.h.

◆ computeRoutingChannels()

template<class ATYPE >
void ogdf::RoutingChannel< ATYPE >::computeRoutingChannels ( const OrthoRep OR,
bool  align = false 
)
inline

Definition at line 74 of file RoutingChannel.h.

◆ cOverhang()

template<class ATYPE >
double ogdf::RoutingChannel< ATYPE >::cOverhang ( ) const
inline

Definition at line 65 of file RoutingChannel.h.

◆ operator()() [1/2]

template<class ATYPE >
ATYPE& ogdf::RoutingChannel< ATYPE >::operator() ( node  v,
OrthoDir  dir 
)
inline

Definition at line 55 of file RoutingChannel.h.

◆ operator()() [2/2]

template<class ATYPE >
const ATYPE& ogdf::RoutingChannel< ATYPE >::operator() ( node  v,
OrthoDir  dir 
) const
inline

Definition at line 51 of file RoutingChannel.h.

◆ overhang()

template<class ATYPE >
ATYPE ogdf::RoutingChannel< ATYPE >::overhang ( ) const
inline

Definition at line 70 of file RoutingChannel.h.

◆ separation()

template<class ATYPE >
ATYPE ogdf::RoutingChannel< ATYPE >::separation ( ) const
inline

Definition at line 60 of file RoutingChannel.h.

Member Data Documentation

◆ m_channel

template<class ATYPE >
NodeArray<vInfo> ogdf::RoutingChannel< ATYPE >::m_channel
private

Definition at line 128 of file RoutingChannel.h.

◆ m_cOverhang

template<class ATYPE >
double ogdf::RoutingChannel< ATYPE >::m_cOverhang
private

Definition at line 130 of file RoutingChannel.h.

◆ m_separation

template<class ATYPE >
ATYPE ogdf::RoutingChannel< ATYPE >::m_separation
private

Definition at line 129 of file RoutingChannel.h.


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