igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] calculating centrality separately for each connected compon


From: Tamás Nepusz
Subject: Re: [igraph] calculating centrality separately for each connected component
Date: Tue, 10 May 2011 22:52:40 +0200

> I thought of a workaround though which would be helpful to me in its own 
> right.  Due to the way the data was connected, there are no large connected 
> components.  Therefore, if I can run functions like alpha.centrality() and 
> bonpow() separately on each connected component my system should be able to 
> handle it without crashing.  Even if this results in a slightly different 
> measure, I don't think the difference is substantively important.
>   
> Given that I'm starting with a giant igraph object, how should I proceed?
decompose.graph() gives you a list of graph objects, one for each connected 
component of the original graph. You can also use the min.vertices argument to 
specify the minimum number of vertices in a component.

-- 
Tamas




reply via email to

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