3 Dec
2017
3 Dec
'17
4:17 p.m.
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>