Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
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
< typename boost::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.

Constructor & Destructor Documentation

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

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

Definition at line 104 of file GraphUtility.h.

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.

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

Definition at line 106 of file GraphUtility.h.


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