That works! Thanks a lot.

On Sun, Dec 3, 2017 at 9:47 PM, Tiago de Paula Peixoto <[email protected]>
wrote:

> On 03.12.2017 17:10, Snehal Shekatkar wrote:
> > I want something like this: set([g1, g2, g3]) = {g1, g3} because states
> of
> > g1 and g2 are exactly same for all the vertices but are different from
> that
> > of g3.
>
> Just do:
>
>    set([tuple(state1.a), tuple(state2.a), tuple(state3.a)])
>
> (I'm assuming you want to construct a set of the property maps, not
> graphs.)
>
> --
> Tiago de Paula Peixoto <[email protected]>
>
>
> _______________________________________________
> graph-tool mailing list
> [email protected]
> https://lists.skewed.de/mailman/listinfo/graph-tool
>
>


-- 
Snehal M. Shekatkar
Pune
India
www.snehalshekatkar.com
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to