Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents Class Reference

Obtain and provides information about components in a given blowup graph. More...

Public Member Functions

 BlowupComponents (const EdgeWeightedGraphCopy< T > &blowupGraph, const List< node > &bgTerminals, const std::vector< node > &ignores, const NodeArray< node > &bgOriginal)
 Find all components in the blowup graph and initialize information them. More...
 
const T & cost (int id) const
 Return total cost of a given component. More...
 
int id (node v) const
 Return the component id a given node is contained in. More...
 
edge rootEdge (int id) const
 Return the edge coming from the root of a given component. More...
 
void setRootEdge (int id, edge e)
 Set the edge coming from the root for a given component. More...
 
int size () const
 Return number of components. More...
 
const List< node > & terminals (int id) const
 Return list of terminals for a given component. More...
 

Protected Member Functions

void initializeComponent (edge rootEdge, const EdgeWeightedGraphCopy< T > &blowupGraph, const NodeArray< node > &bgOriginal)
 Initialize all information about the component starting with rootEdge in the blowup graph. More...
 

Protected Attributes

ArrayBuffer< T > componentCost
 
NodeArray< int > componentId
 
ArrayBuffer< edge > componentRootEdge
 
ArrayBuffer< List< node > > componentTerminals
 
int maxId
 

Detailed Description

template<typename T>
class ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents

Obtain and provides information about components in a given blowup graph.

Definition at line 420 of file MinSteinerTreeGoemans139.h.

Constructor & Destructor Documentation

◆ BlowupComponents()

template<typename T >
ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::BlowupComponents ( const EdgeWeightedGraphCopy< T > &  blowupGraph,
const List< node > &  bgTerminals,
const std::vector< node > &  ignores,
const NodeArray< node > &  bgOriginal 
)
inline

Find all components in the blowup graph and initialize information them.

Definition at line 478 of file MinSteinerTreeGoemans139.h.

Member Function Documentation

◆ cost()

template<typename T >
const T& ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::cost ( int  id) const
inline

Return total cost of a given component.

Definition at line 523 of file MinSteinerTreeGoemans139.h.

◆ id()

template<typename T >
int ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::id ( node  v) const
inline

Return the component id a given node is contained in.

Definition at line 517 of file MinSteinerTreeGoemans139.h.

◆ initializeComponent()

template<typename T >
void ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::initializeComponent ( edge  rootEdge,
const EdgeWeightedGraphCopy< T > &  blowupGraph,
const NodeArray< node > &  bgOriginal 
)
inlineprotected

Initialize all information about the component starting with rootEdge in the blowup graph.

Definition at line 439 of file MinSteinerTreeGoemans139.h.

◆ rootEdge()

template<typename T >
edge ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::rootEdge ( int  id) const
inline

Return the edge coming from the root of a given component.

Definition at line 536 of file MinSteinerTreeGoemans139.h.

◆ setRootEdge()

template<typename T >
void ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::setRootEdge ( int  id,
edge  e 
)
inline

Set the edge coming from the root for a given component.

Definition at line 543 of file MinSteinerTreeGoemans139.h.

◆ size()

template<typename T >
int ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::size ( ) const
inline

Return number of components.

Definition at line 530 of file MinSteinerTreeGoemans139.h.

◆ terminals()

template<typename T >
const List<node>& ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::terminals ( int  id) const
inline

Return list of terminals for a given component.

Definition at line 510 of file MinSteinerTreeGoemans139.h.

Member Data Documentation

◆ componentCost

template<typename T >
ArrayBuffer<T> ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::componentCost
protected

Definition at line 434 of file MinSteinerTreeGoemans139.h.

◆ componentId

template<typename T >
NodeArray<int> ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::componentId
protected

Definition at line 428 of file MinSteinerTreeGoemans139.h.

◆ componentRootEdge

template<typename T >
ArrayBuffer<edge> ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::componentRootEdge
protected

Definition at line 432 of file MinSteinerTreeGoemans139.h.

◆ componentTerminals

template<typename T >
ArrayBuffer< List<node> > ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::componentTerminals
protected

Definition at line 430 of file MinSteinerTreeGoemans139.h.

◆ maxId

template<typename T >
int ogdf::MinSteinerTreeGoemans139< T >::UFCR::BlowupComponents::maxId
protected

Definition at line 436 of file MinSteinerTreeGoemans139.h.


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