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

default VertexLabelWriter for write_graph More...

#include <GraphUtility.h>

Inheritance diagram for limbo::algorithms::VertexLabelWriter< GraphType >:
limbo::algorithms::coloring::ColoringVertexLabelWriter< GraphType >

Public Types

typedef GraphType graph_type
typedef boost::graph_traits< graph_type >::vertex_descriptor vertex_descriptor

Public Member Functions

 VertexLabelWriter (graph_type const &_g)
vertex_descriptor label (vertex_descriptor v) const

Public Attributes

graph_type const & g
 bind graph object

Detailed Description

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

default VertexLabelWriter for write_graph

Template Parameters
GraphTypegraph type

Definition at line 67 of file GraphUtility.h.

Member Typedef Documentation

◆ graph_type

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

Definition at line 70 of file GraphUtility.h.

◆ vertex_descriptor

template<typename GraphType>
typedef boost::graph_traits<graph_type>::vertex_descriptor limbo::algorithms::VertexLabelWriter< GraphType >::vertex_descriptor

Definition at line 71 of file GraphUtility.h.

Constructor & Destructor Documentation

◆ VertexLabelWriter()

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

constructor

Parameters
_ggraph

Definition at line 78 of file GraphUtility.h.

Member Function Documentation

◆ label()

template<typename GraphType>
vertex_descriptor limbo::algorithms::VertexLabelWriter< GraphType >::label ( vertex_descriptor v) const
inline
Parameters
vvertex
Returns
label of vertex

Definition at line 81 of file GraphUtility.h.

Member Data Documentation

◆ g

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

bind graph object

Definition at line 74 of file GraphUtility.h.


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