nx_parallel.algorithms.vitality#
Functions#
|
The parallel computation is implemented only when the node |
Module Contents#
- nx_parallel.algorithms.vitality.closeness_vitality(G, node=None, weight=None, wiener_index=None, get_chunks='chunks')[source]#
The parallel computation is implemented only when the node is not specified. The closeness vitality for each node is computed concurrently.
networkx.closeness_vitality : https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.vitality.closeness_vitality.html
Parameters#
- get_chunksstr, function (default = “chunks”)
A function that takes in a list of all the nodes as input and returns an iterable node_chunks. The default chunking is done by slicing the nodes into n_jobs number of chunks.