renamed tournament_is_strongly_connected to is_strongly_connected in tournament.py and then assigned tournament_is_strongly_connected = is_strongly_connected in Dispatcher class, like how it's done in the main networkx repo(origin https://github.com/networkx/nx-parallel/pull/27)
>>> import nx_parallel as nxp
>>> import networkx as nx
>>> G = nx.tournament.random_tournament(50, seed=42)
>>> nx.tournament.is_strongly_connected(G)
True
Before :
>>> nxp.tournament.is_strongly_connected(G)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'nx_parallel.algorithms.tournament' has no attribute 'is_strongly_connected'
Please do "Squash and merge" while merging this PR
time_tournament_is_strongly_connected
benchmarktournament_is_strongly_connected
tois_strongly_connected
intournament.py
and then assignedtournament_is_strongly_connected = is_strongly_connected
inDispatcher
class, like how it's done in the main networkx repo(origin https://github.com/networkx/nx-parallel/pull/27)Before :
After :