igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] fastest way to check for existence of edges


From: Tamas Nepusz
Subject: Re: [igraph] fastest way to check for existence of edges
Date: Fri, 6 Mar 2009 09:23:56 +0000

What is the appropriate/fastest/efficient way to test for the existence of an edge in a network (python interface)?
Try Graph.are_connected(v1, v2). Or there's also Graph.get_eid(v1, v2) if you need the ID of the edge in case they are connected.

--
T.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]