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.)
_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool