GraphDom
Loading...
Searching...
No Matches
graphdom::default_vertex_labeller< VertexType, VertexLabelType > Class Template Referencefinal

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

#include <labeled_vertex_graph.h>

Public Member Functions

constexpr VertexLabelType operator() (const VertexType &) const

Detailed Description

template<typename VertexType, typename VertexLabelType>
class graphdom::default_vertex_labeller< VertexType, VertexLabelType >

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

Member Function Documentation

◆ operator()()

template<typename VertexType, typename VertexLabelType>
VertexLabelType graphdom::default_vertex_labeller< VertexType, VertexLabelType >::operator() ( const VertexType & ) const
inlinenodiscardconstexpr

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

Returns
A default-constructed instance of VertexLabelType type.

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