문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top