all three output files now contain the same community id numbers
comm2nodes and comm2edges both present the cid as the first
entry of each line. Previously only comm2nodes did this.
* implemented weighted version, added ‘-w’ switch
* expanded help string to explain input and outputs
Get all the edge similarities. Input dict maps nodes to sets of neighbors.
Output is a list of decorated edge-pairs, (1-sim,eij,eik), ordered by similarity.
Same as similarities_unweighted but using tanimoto coefficient. `adj’ is a dict
mapping nodes to sets of neighbors, ij2wij is a dict mapping an edge (ni,nj) tuple
to the weight wij of that edge.
Module provides a simple py3 port for link community analyses, following the
algorithm by James Bagrow, Yong-Yeol Ahn.
Created using Sphinx. Last updated
on Jun 25, 2021
This work is licensed under a Creative
Commons Attributio 4.0 International License.