Skip to content

Timing script for bipartite actually producing bipartite graph#158

Open
gulshan-123 wants to merge 1 commit intonetworkx:mainfrom
gulshan-123:timing-bipar
Open

Timing script for bipartite actually producing bipartite graph#158
gulshan-123 wants to merge 1 commit intonetworkx:mainfrom
gulshan-123:timing-bipar

Conversation

@gulshan-123
Copy link

As suggested by @akshitasure12 in #156 , the change to timing script is in this PR.

Earlier, the bipartite graph part was not actually producing bipartite graph, this was noticed when the graphs were returning error in latapy_clustering tests.

I have used the fact that nx.bipartite.random_graph partitions the nodes into two parts as follows:

the first part has node indices 0..n-1
the second part has node indices n..n+m-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant