Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::EdgeWeightedGraph< T > Class Template Reference

#include <ogdf/fileformats/GraphIO.h>

Public Member Functions

 EdgeWeightedGraph ()
 
 EdgeWeightedGraph (GraphCopy &gC)
 
virtual ~EdgeWeightedGraph ()
 
const EdgeArray< T > & edgeWeights () const
 
edge newEdge (node v, node w, T weight)
 
node newNode ()
 
void setWeight (const edge e, T weight)
 
weight (const edge e) const
 

Protected Attributes

EdgeArray< T > m_edgeWeight
 

Detailed Description

template<typename T>
class ogdf::EdgeWeightedGraph< T >

Definition at line 56 of file GraphIO.h.

Constructor & Destructor Documentation

◆ EdgeWeightedGraph() [1/2]

template<typename T >
ogdf::EdgeWeightedGraph< T >::EdgeWeightedGraph ( )
inline

Definition at line 42 of file EdgeWeightedGraph.h.

◆ EdgeWeightedGraph() [2/2]

template<typename T >
ogdf::EdgeWeightedGraph< T >::EdgeWeightedGraph ( GraphCopy gC)
inlineexplicit

Definition at line 44 of file EdgeWeightedGraph.h.

◆ ~EdgeWeightedGraph()

template<typename T >
virtual ogdf::EdgeWeightedGraph< T >::~EdgeWeightedGraph ( )
inlinevirtual

Definition at line 46 of file EdgeWeightedGraph.h.

Member Function Documentation

◆ edgeWeights()

template<typename T >
const EdgeArray<T>& ogdf::EdgeWeightedGraph< T >::edgeWeights ( ) const
inline

Definition at line 61 of file EdgeWeightedGraph.h.

◆ newEdge()

template<typename T >
edge ogdf::EdgeWeightedGraph< T >::newEdge ( node  v,
node  w,
weight 
)
inline

Definition at line 48 of file EdgeWeightedGraph.h.

◆ newNode()

template<typename T >
node ogdf::EdgeWeightedGraph< T >::newNode ( )
inline

Definition at line 54 of file EdgeWeightedGraph.h.

◆ setWeight()

template<typename T >
void ogdf::EdgeWeightedGraph< T >::setWeight ( const edge  e,
weight 
)
inline

Definition at line 63 of file EdgeWeightedGraph.h.

◆ weight()

template<typename T >
T ogdf::EdgeWeightedGraph< T >::weight ( const edge  e) const
inline

Definition at line 59 of file EdgeWeightedGraph.h.

Member Data Documentation

◆ m_edgeWeight

template<typename T >
EdgeArray<T> ogdf::EdgeWeightedGraph< T >::m_edgeWeight
protected

Definition at line 66 of file EdgeWeightedGraph.h.


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