Skip to content

BFS-based algorithm to check if undirected graph is bipartite#1304

Merged
fabratu merged 9 commits intonetworkit:masterfrom
Schwarf:feature/is_graph_bipartite
Feb 21, 2025
Merged

BFS-based algorithm to check if undirected graph is bipartite#1304
fabratu merged 9 commits intonetworkit:masterfrom
Schwarf:feature/is_graph_bipartite

Conversation

@Schwarf
Copy link
Copy Markdown
Contributor

@Schwarf Schwarf commented Feb 9, 2025

Summary

This PR introduces a BFS-based algorithm to determine whether a given undirected graph is bipartite.
A graph is bipartite if its vertices can be divided into two disjoint sets such that no two adjacent vertices belong to the same set.

@Schwarf Schwarf force-pushed the feature/is_graph_bipartite branch from 7709833 to f7d5bfd Compare February 11, 2025 17:20
@Schwarf Schwarf requested a review from angriman February 12, 2025 15:38
@Schwarf Schwarf requested a review from angriman February 13, 2025 05:07
@fabratu fabratu merged commit 6649c3e into networkit:master Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants