nx_parallel.algorithms.bipartite.redundancy#

Functions#

node_redundancy(G[, nodes, get_chunks])

In the parallel implementation we divide the nodes into chunks and compute

Module Contents#

nx_parallel.algorithms.bipartite.redundancy.node_redundancy(G, nodes=None, get_chunks='chunks')[source]#

In the parallel implementation we divide the nodes into chunks and compute the node redundancy coefficients for all node_chunk in parallel.

networkx.bipartite.node_redundancy : https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.bipartite.redundancy.node_redundancy.html

Parameters#

get_chunksstr, function (default = “chunks”)

A function that takes in an iterable of all the nodes as input and returns an iterable node_chunks. The default chunking is done by slicing the G.nodes (or nodes) into n_jobs number of chunks.