[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] C function for the degree of a vertex?
From: |
Minh Nguyen |
Subject: |
[igraph] C function for the degree of a vertex? |
Date: |
Thu, 5 May 2011 23:25:41 +1000 |
Hi folks,
Is there a C function somewhere in the igraph C library for computing
the degree of a vertex? What about a C function for in-degree and
out-degree in the case of digraphs? One could use igraph_neighbors()
to get the immediate neighbours of a vertex and count the number of
neighbours. But I want to know if there's another (possibly simpler)
way.
--
Regards
Minh Van Nguyen
- [igraph] C function for the degree of a vertex?,
Minh Nguyen <=