[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] how to add disconnected nodes to a graph?
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] how to add disconnected nodes to a graph? |
Date: |
Fri, 6 Dec 2013 22:46:13 +0100 |
> If I am computing the betweenness of a vertex that doesn't connect to any
> other node. Shouldn't the betweenness be 0?
Yes, it should. It seems to be the case in a small example that I constructed
now in IPython:
In [1]: g=Graph.Formula("A--B--C--D--A, E, F")
In [2]: g.betweenness()
Out[2]: [0.5, 0.5, 0.5, 0.5, 0.0, 0.0]
So if you are getting non-zero values for isolated nodes then this does not
seem right.
T.
- [igraph] how to add disconnected nodes to a graph?, Ahmed Abdeen Hamed, 2013/12/06
- Re: [igraph] how to add disconnected nodes to a graph?, Tamás Nepusz, 2013/12/06
- Re: [igraph] how to add disconnected nodes to a graph?, Ahmed Abdeen Hamed, 2013/12/06
- Re: [igraph] how to add disconnected nodes to a graph?, Tamás Nepusz, 2013/12/06
- Re: [igraph] how to add disconnected nodes to a graph?, Ahmed Abdeen Hamed, 2013/12/06
- Re: [igraph] how to add disconnected nodes to a graph?,
Tamás Nepusz <=
- Re: [igraph] how to add disconnected nodes to a graph?, Ahmed Gmail, 2013/12/06
- Re: [igraph] how to add disconnected nodes to a graph?, Tamás Nepusz, 2013/12/06
- Re: [igraph] how to add disconnected nodes to a graph?, Ahmed Abdeen Hamed, 2013/12/07