Question

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 value 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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top