Limbo 3.5.4
Loading...
Searching...
No Matches
limbo::algorithms::EdgeLabelWriter< GraphType > Struct Template Reference

default EdgeLabelWriter for write_graph More...

#include <GraphUtility.h>

Inheritance diagram for limbo::algorithms::EdgeLabelWriter< GraphType >:
limbo::algorithms::coloring::ColoringEdgeLabelWriter< GraphType >

Public Types

typedef GraphType graph_type
typedef boost::graph_traits< graph_type >::edge_descriptor edge_descriptor
typedef boost::property_traits< typenameboost::property_map< graph_type, boost::edge_weight_t >::const_type >::value_type edge_weight_type

Public Member Functions

 EdgeLabelWriter (graph_type const &_g)
edge_weight_type label (edge_descriptor e) const
std::string color (edge_descriptor) const
std::string style (edge_descriptor) const

Public Attributes

graph_type const & g
 bind graph object

Detailed Description

template<typename GraphType>
struct limbo::algorithms::EdgeLabelWriter< GraphType >

default EdgeLabelWriter for write_graph

Template Parameters
GraphTypegraph type

Definition at line 87 of file GraphUtility.h.

Member Typedef Documentation

◆ edge_descriptor

template<typename GraphType>
typedef boost::graph_traits<graph_type>::edge_descriptor limbo::algorithms::EdgeLabelWriter< GraphType >::edge_descriptor

Definition at line 91 of file GraphUtility.h.

◆ edge_weight_type

template<typename GraphType>
typedef boost::property_traits<typenameboost::property_map<graph_type,boost::edge_weight_t>::const_type>::value_type limbo::algorithms::EdgeLabelWriter< GraphType >::edge_weight_type

Definition at line 92 of file GraphUtility.h.

◆ graph_type

template<typename GraphType>
typedef GraphType limbo::algorithms::EdgeLabelWriter< GraphType >::graph_type

Definition at line 90 of file GraphUtility.h.

Constructor & Destructor Documentation

◆ EdgeLabelWriter()

template<typename GraphType>
limbo::algorithms::EdgeLabelWriter< GraphType >::EdgeLabelWriter ( graph_type const & _g)
inline

constructor

Parameters
_ggraph

Definition at line 99 of file GraphUtility.h.

Member Function Documentation

◆ color()

template<typename GraphType>
std::string limbo::algorithms::EdgeLabelWriter< GraphType >::color ( edge_descriptor ) const
inline
Returns
color

Definition at line 104 of file GraphUtility.h.

◆ label()

template<typename GraphType>
edge_weight_type limbo::algorithms::EdgeLabelWriter< GraphType >::label ( edge_descriptor e) const
inline
Parameters
eedge
Returns
label of edge

Definition at line 102 of file GraphUtility.h.

◆ style()

template<typename GraphType>
std::string limbo::algorithms::EdgeLabelWriter< GraphType >::style ( edge_descriptor ) const
inline
Returns
style

Definition at line 106 of file GraphUtility.h.

Member Data Documentation

◆ g

template<typename GraphType>
graph_type const& limbo::algorithms::EdgeLabelWriter< GraphType >::g

bind graph object

Definition at line 95 of file GraphUtility.h.


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