igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] problem about calculating closeness centrality


From: Tamas Nepusz
Subject: Re: [igraph] problem about calculating closeness centrality
Date: Fri, 20 Mar 2015 12:19:55 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

I think I have responded to this email already on Feb 5 2015; please see my
reply:

https://lists.nongnu.org/archive/html/igraph-help/2015-02/msg00030.html

T.

On 03/20, ι•œ wrote:
> Hi
> 
> 
> The igraph vesion I was using is 6.5,and I have a problem about calculating 
> closeness centrality.When I use the function like this
> igraph_vector_t  v_closeness;
> igraph_vector_init(&v_closeness, 0);
> graph_closeness(&g, &v_closeness, igraph_vss_all(), IGRAPH_ALL, 0);
> the result in v_closeness is zero.
> The parameters' meaning are as follows:
> &g means the graph data ;
> &v_closeness is used to store the result;
> the graph is undirected and unweighted;
> I want to calculate all vertices in the graph.In this function I can't get 
> the right result ,and I don't know why.Maybe I need your help.
> Thank you very much!
> 
> 
> Best Regrads!
> 
> 
> Tian Li‍

> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help


-- 
T.



reply via email to

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