nx_parallel.algorithms.components.strongly_connected#
Functions#
|
The parallel computation is implemented by dividing the list |
Module Contents#
- nx_parallel.algorithms.components.strongly_connected.number_strongly_connected_components(G, get_chunks='chunks')[source]#
The parallel computation is implemented by dividing the list of strongly connected components into chunks and then finding the length of each chunk in parallel and then adding all the lengths at the end.
networkx.number_strongly_connected_components : https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.components.number_strongly_connected_components.html
Parameters#
- get_chunksstr, function (default = “chunks”)
A function that takes in a list of strongly connected components as input and returns an iterable component_chunks. The default chunking is done by slicing the list of strongly connected components into n_jobs number of chunks.