In the documentation of the algorithm isomorphism
of the Boost Graph Library, it is stated that the named parameter vertex_invariant1
and vertex_invariant2
take a binary function as argument. However, the default va开发者_开发百科lue for these parameters is degree_vertex_invariant
, which is a unary function object, according to the source.
Am I missing something, or the documentation is wrong?
function_requires< AdaptableUnaryFunctionConcept<Invariant1, size_type, vertex1_t> >();
and
invariant1(kp1) == invariant2(u)
So yeah, I think the documentation is wrong. You should submit this to the mailing list IMO.
精彩评论