That works! Thanks a lot.

On Sun, Dec 3, 2017 at 9:47 PM, Tiago de Paula Peixoto <tiago@skewed.de> 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 <tiago@skewed.de>


_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool




--
Snehal M. Shekatkar
Pune
India