GraphDom
Loading...
Searching...
No Matches
graphdom::default_edge_labeller< VertexType, EdgeLabelType > Class Template Referencefinal

This class template is the default vertex labeller used by all labeled-edge graphs if no user-specified vertex labeller is provided. More...

#include <labeled_edge_graph.h>

Public Member Functions

constexpr EdgeLabelType operator() (const typename graph< VertexType >::vertex_const_handle &, const typename graph< VertexType >::vertex_const_handle &) const
constexpr EdgeLabelType operator() (const typename graph< VertexType >::vertex_const_handle &, const typename graph< VertexType >::vertex_const_handle &, edge_type) const

Detailed Description

template<typename VertexType, typename EdgeLabelType>
class graphdom::default_edge_labeller< VertexType, EdgeLabelType >

This class template is the default vertex labeller used by all labeled-edge graphs if no user-specified vertex labeller is provided.

Member Function Documentation

◆ operator()() [1/2]

template<typename VertexType, typename EdgeLabelType>
EdgeLabelType graphdom::default_edge_labeller< VertexType, EdgeLabelType >::operator() ( const typename graph< VertexType >::vertex_const_handle & ,
const typename graph< VertexType >::vertex_const_handle &  ) const
inlinenodiscardconstexpr

This operator always returns a default-constructed instance of EdgeLabelType type.

Returns
A default-constructed instance of EdgeLabelType type.

◆ operator()() [2/2]

template<typename VertexType, typename EdgeLabelType>
EdgeLabelType graphdom::default_edge_labeller< VertexType, EdgeLabelType >::operator() ( const typename graph< VertexType >::vertex_const_handle & ,
const typename graph< VertexType >::vertex_const_handle & ,
edge_type  ) const
inlinenodiscardconstexpr

This operator always returns a default-constructed instance of EdgeLabelType type.

Returns
A default-constructed instance of EdgeLabelType type.

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