igraph-help
[Top][All Lists]
Advanced

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

[igraph] Methods for getting disconnected pairs and for common neighbors


From: Merton Lister
Subject: [igraph] Methods for getting disconnected pairs and for common neighbors
Date: Mon, 24 Nov 2014 16:07:20 +0800


Hi everyone,

I have two questions about methods available in the igraph python package.

Is there a method that would return all the unconnected pairs of nodes in an undirected graph? Ideally, there is no duplicate as (1, 2) and (2, 1) are the same in this context.

In addition, given two nodes in an undirected graph, is there a method that returns their common neighbors?

Many thanks for your help!

Best regards,
Merton



reply via email to

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