Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在Boost Graph Library的算法文档isomorphism中,声明了命名参数vertex_invariant1并vertex_invariant2以二进制函数作为参数。但是,根据来源,这些参数的默认值为degree_vertex_invariant,这是一个一元函数对象。
isomorphism
vertex_invariant1
vertex_invariant2
degree_vertex_invariant
我是否遗漏了什么,或者文档有误?
function_requires< AdaptableUnaryFunctionConcept<Invariant1, size_type, vertex1_t> >();
和
invariant1(kp1) == invariant2(u)
所以是的,我认为文档是错误的。您应该将此提交给 IMO 邮件列表。