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
ParallelEdges
andLoops
must be specified.The size type used is
boost::graph_traits<Graph>::vertices_size_type
.The vertices and edges are considered unlabelled, i.e.,
always_false
is used as vertex-less predicate, andedge_handler_all_equal
is 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
, andVertexLess
must be specified.The size type used is
boost::graph_traits<Graph>::vertices_size_type
.The edges are considered unlabelled, i.e.,
edge_handler_all_equal
is used asEdgeHandlerCreator
.
See
canonicalizer::
.operator()