5.9. shorthands.hpp

Full path: graph_canon/shorthands.hpp

This header defines several overloads of the canonicalize function template where various arguments have been defaulted.

inline auto make_default_visitor()
Returns

a compound visitor with the following visitors:

template<bool ParallelEdges, bool Loops, typename Graph, typename Visitor>
auto canonicalize(const Graph &graph, Visitor visitor)

A shorthand function for canonicalization, where only ParallelEdges and Loops must be specified.

See canonicalizer::operator().

template<bool ParallelEdges, bool Loops, typename Graph, typename VertexLess, typename Visitor>
auto canonicalize(const Graph &graph, VertexLess vertex_less, Visitor visitor)

A shorthand function for canonicalization, where only ParallelEdges, Loops, and VertexLess must be specified.

See canonicalizer::operator().