Boost logo

Boost Users :

From: Patrick A. La Fratta (plafratt_at_[hidden])
Date: 2007-06-13 10:43:01


Thanks for your help and the fix. Also, there is a comment in the "
isomorphism.hpp" file in the "match" function that says "this *HAS* to be a
bug!". Does anyone know if there is a problem here that hasn't been
addressed?

- Patrick

On 6/13/07, Douglas Gregor <dgregor_at_[hidden]> wrote:
>
> Aaron Windsor wrote:
> > If you'd like, use the diff I've appended to this email to patch the
> > file boost/graph/named_params.hpp. This patch just adds some necessary
> > definitions so that you can actually use vertex_invariant1 and
> > vertex_invariant2 as named parameters in the function, like so:
> >
> > MyVertexInvariant1 my_invariant1;
> > MyVertexInvariant2 my_invariant2;
> >
> > bool are_isomorphic = isomorphism(g1,g2,
> isomorphism_map(my_isomorphism_map)
> > .vertex_index1_map(my_vertex_index_map1)
> > .vertex_index2_map(my_vertex_index_map2)
> > .vertex_invariant1(my_invariant1)
> > .vertex_invariant2(my_invariant2));
> >
> > Does anyone object if I commit this patch to HEAD and update the
> > documentation for isomorphism to reflect the two separate vertex
> > invariant named parameters?
> >
> The patch looks good. Please go ahead and commit (along with the
> documentation fix!)
>
> - Doug
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net