[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] neighborhood
From: |
Matt |
Subject: |
[igraph] neighborhood |
Date: |
Wed, 1 Jul 2015 17:50:06 +0200 |
Dear all,
I was wondering if something change in the neighborhood function.
In an old code that ran smoothly with this function I am experiencing
some problems.
For example, I remember that in order to count the number of vertices
in a neighborhood EXCLUDING the vertex I was analyzing, I had to
subtract 1 because neighborhood function returned the number of
vertices INCLUDING the vertex whose neighbors I was interested in.
Now I find that if I subtract 1 I have vertices with out-degree 2 I
get a neighborhood of 1 (computed considering just the out-edges).
Is the neighborhood function returning the neighbors without the
"starting" vertex now?
Thank you very much in advance for your help.
Cheers.
Matt
- [igraph] neighborhood,
Matt <=