[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Graph difference
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] Graph difference |
Date: |
Sat, 22 Oct 2011 02:02:34 +0200 |
> does anyone know how to calculate the graph difference in python?
> I have two graphs with the same vertexs but different edges and I want to see
> just the edges that are in on graph but not in the other.
> Can anyone help me?
How about this one?
>>> g = g1 - g2
E.g.,
>>> g1 = Graph.GRG(100, 0.2)
>>> g2 = Graph.GRG(100, 0.2)
>>> g = g1-g2
--
T.