R: Add weighted edge.betweenness.community

Bug #638174 reported by Andrew Edelman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
igraph
Fix Released
Wishlist
Tamás Nepusz

Bug Description

Would allow edge weighting to be used in edge betweenness method of community detection. For algorithm see Newman, M.E.J. 2004. Analysis of weighted networks. Physical Review E. vol. 70 (2), no5, pp. 056131.1-056131.9.

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Since we already have weighted edge-betweenness calculation, it should not be too hard. The only problem is that edge.betweenness community does not call edge.betweenness, but does the calculation itself, because of performance reasons.

But it could be easily rewritten to call an internal version of edge.betweenness.community, that does not require the reallocation of memory all the time.

Changed in igraph:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → Gábor Csárdi (gabor.csardi)
Revision history for this message
Andrew Edelman (aedelman) wrote : Re: [Bug 638174] Re: R: Add weighted edge.betweenness.community

  Thanks for your response, Gábor. It would be great to have this
feature added, since most of the other community detection functions can
handle weighted networks. I also noticed that the
leading.eigenvector.community function doesn't use weights. I haven't
been able to find a detailed reference about how weights could be
accommodated for the leading eigenvector method. However, David Lusseau,
who has work with M. Newman, briefly outlines a weighted version (Animal
Behaviour, 2008, vol 75, pg 1812). There might be enough info in that
reference to figure out how to add this feature too. Thanks for all your
work to incorporate weighted network analysis into igraph.
Best,

Andrew

Andrew Edelman, Ph.D.
NSF Postdoctoral Fellow in Bioinformatics
Zoology& Physiology, Dept. 3166
1000 E. University Ave.
University of Wyoming
Laramie, WY 82071
Phone: (505) 238-3775
Email: <email address hidden>
www.unm.edu/~andrewe

On 9/16/2010 3:21 AM, Gábor Csárdi wrote:
> Since we already have weighted edge-betweenness calculation, it should
> not be too hard. The only problem is that edge.betweenness community
> does not call edge.betweenness, but does the calculation itself, because
> of performance reasons.
>
> But it could be easily rewritten to call an internal version of
> edge.betweenness.community, that does not require the reallocation of
> memory all the time.
>
>
> ** Changed in: igraph
> Status: New => Confirmed
>
> ** Changed in: igraph
> Importance: Undecided => Wishlist
>
> ** Changed in: igraph
> Assignee: (unassigned) => Gábor Csárdi (gabor.csardi)
>

Tamás Nepusz (ntamas)
Changed in igraph:
assignee: Gábor Csárdi (gabor.csardi) → Tamás Nepusz (ntamas)
milestone: none → 0.6
status: Confirmed → In Progress
Revision history for this message
Tamás Nepusz (ntamas) wrote :

Added in #2692 in trunk. R interface requires further adjustments because the weights parameter is not used yet. The Python interface has been updated.

Changed in igraph:
status: In Progress → Fix Committed
Tamás Nepusz (ntamas)
Changed in igraph:
status: Fix Committed → Fix Released
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/337

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.