Skip to content

Add Bron Kerbosch algorithm to find maximal cliques #639

Open
@TripleCamellya

Description

@TripleCamellya

A clique in an undirected graph is a subset of vertices where every two distinct vertices are adjacent. In other words, a clique is a complete subgraph where each vertex is connected to every other vertex within the subset.

A maximal clique is a clique that cannot be extended by including one more adjacent vertex. That is, a maximal clique is a clique that is not a subset of any other clique in the graph. It is the largest clique that can be formed starting from a given vertex or a given subset of vertices.

Bron–Kerbosch algorithm is an enumeration algorithm for finding all maximal cliques. It is widely used in application areas of graph algorithms such as computational chemistry.

Here is wiki:

https://en.wikipedia.org/wiki/Bron%E2%80%93Kerbosch_algorithm

Task:

  1. Implement a new API for maximal cliques problem.
  2. Add Bron-Kerbosch algorithm for maximal cliques problem.
  3. Add related doc for find_maximal_cliques.
  4. Add related tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions