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, boolLoops, typenameGraph, typenameVisitor>
autocanonicalize(const Graph &graph, Visitor visitor)¶ A shorthand function for canonicalization, where only
ParallelEdgesandLoopsmust be specified.The size type used is
boost::graph_traits<Graph>::vertices_size_type.The vertices and edges are considered unlabelled, i.e.,
always_falseis used as vertex-less predicate, andedge_handler_all_equalis used asEdgeHandlerCreator.
See
canonicalizer::.operator()
-
template<bool
ParallelEdges, boolLoops, typenameGraph, typenameVertexLess, typenameVisitor>
autocanonicalize(const Graph &graph, VertexLess vertex_less, Visitor visitor)¶ A shorthand function for canonicalization, where only
ParallelEdges,Loops, andVertexLessmust be specified.The size type used is
boost::graph_traits<Graph>::vertices_size_type.The edges are considered unlabelled, i.e.,
edge_handler_all_equalis used asEdgeHandlerCreator.
See
canonicalizer::.operator()