Boost logo

Boost Users :

Subject: Re: [Boost-users] Running mcgregor_common_subgraphs on a graph with bundled properties
From: Saeed Nari (s.nari_at_[hidden])
Date: 2010-08-25 11:58:23


Hi Jeremiah,

Knowing that its possible, I made it work. :D

The problem was with the property_map. This line worked for me:

property_map<Graph, string Flow::*>::type v_name_map1 =
get(&Flow::protocol, g1);

"Flow" is my user defined class. Other things goes like the example.
Thanks for your help.

-- 
Sincerely,
Saeed Nari
7 PM, Jeremiah Willcock <jewillco_at_[hidden]> wrote:
> On Mon, 23 Aug 2010, Saeed Nari wrote:
>
>> Hi,
>>
>> Is it possible to run mcgregor_common_subgraphs algorithm on a graph
>> with bundled properties?
>
> It is as far as I know.  Are you having an issue when you try to do that?
>
> -- Jeremiah Willcock
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
-- 
Sincerely,
Saeed Nari

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