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]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to