Add bipartite clustering coefficients

Bug #727516 reported by Jordi Torrents
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igraph
Confirmed
Wishlist
Unassigned

Bug Description

Consider adding to igraph the computation of bipartite clustering coefficients as defined in pp 40-41 of Latapy et al (2008). Find attached a python implementation with some tests.

Matthieu Latapy, Clémence Magnien and Nathalie Del Vecchio. Basic Notions for the Analysis of Large Two-mode Networks. Social Networks 30 (1), p. 31-48, 2008
There is also a C implementation from the authors: http://www-rp.lip6.fr/~latapy/Bip/

The link above is broken, maybe the code is actually here: ftp://www-rp.lip6.fr/pub/latapy/Bip/

Revision history for this message
Jordi Torrents (jtorrents) wrote :
Tamás Nepusz (ntamas)
Changed in igraph:
importance: Undecided → Wishlist
status: New → Confirmed
description: updated
Revision history for this message
Emmanuel N (enavarro222) wrote :

Here is a simple python implementation of the "global" clustering coefficient described in the same paper, and before in (page 79):
Garry Robins, Malcolm Alexander. Small Worlds among Interlocking Directors: Network Structure and Distance in Bipartite Graphs. 2004. Computational & Mathematical Organization Theory, 10(1), 69–94.

Revision history for this message
Emmanuel N (enavarro222) wrote :

Just to say that I started to code the global bipartite transitivity in C (4 times number of square / number of path of length 3, the one I just posted a python version) + python wrapper.
I will propose a patch between tomorrow and Monday.

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

Emmanuel, sounds great! Thanks!

Revision history for this message
Emmanuel N (enavarro222) wrote :

With a small delay (sorry for that), here is the patch !

It contains:
 * the function in bipartite.c
 * python wrapper
 * some small tests (examples/simple/igraph_bipartite_transitivity.c)

Certainly the doc need to be proofread...

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

Thanks again! Will look at it soon.

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/344

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.