Skip to main content

Finding correspondence via maximum cliques in large graphs

Project description

cliquematch

Finding correspondence via maximum cliques in large graphs

pyvers ci license DOI

The cliquematch package aims to do two specific things:

  1. Find maximum cliques in large sparse undirected graphs, as quickly and efficiently as possible. (cliquematch uses C++ internally to implement a really fast maximum clique algorithm).

    • Now cliquematch can also find (node-)weighted maximum cliques using the NWGraph class.
  2. Construct large sparse undirected graphs in-memory for the various applications of the maximum clique/clique enumeration problem.

Licensed under MIT License. View the documentation at https://cliquematch.readthedocs.io/

Note: this is cliquematch v3. If you're looking for v1, you can go to the v1 branch or documentation.

Installation Instructions

Installing from a wheel

cliquematch uses cibuildwheel to build wheels via Github Actions.

PyPI wheels are available for Linux, Windows, and MacOS.

pip install cliquematch>=3.0.0

Installing from source

  1. cliquematch requires pybind11 (v2.2 or newer) for its setup:
pip3 install pybind11
  1. cliquematch requires Eigen (v3.3.7 or newer) as part of its setup.

    • You can clone the repo via git clone --recursive to get Eigen.
    • If you already have an existing version of Eigen, or have downloaded it separately, set the EIGEN_DIR environment variable to the folder containing Eigen before compilation.
  2. A C++11 compatible compiler must be available for the installation:

    • On Linux, gcc is called with --std=c++11 (builds with gcc 4.8.2 for manylinux1 wheels).
    • On Windows, Visual Studio 2015 Update 3 (MSVC 14.0 runtime) or later is needed.
    • Note: Installing under Windows+MinGW has not been tested.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cliquematch-3.0.0.tar.gz (47.6 kB view hashes)

Uploaded Source

Built Distributions

cliquematch-3.0.0-cp39-cp39-win_amd64.whl (214.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

cliquematch-3.0.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (343.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

cliquematch-3.0.0-cp39-cp39-macosx_11_0_arm64.whl (345.6 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

cliquematch-3.0.0-cp39-cp39-macosx_10_9_x86_64.whl (371.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

cliquematch-3.0.0-cp38-cp38-win_amd64.whl (221.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

cliquematch-3.0.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (344.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

cliquematch-3.0.0-cp38-cp38-macosx_11_0_arm64.whl (342.0 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

cliquematch-3.0.0-cp38-cp38-macosx_10_9_x86_64.whl (367.0 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

cliquematch-3.0.0-cp37-cp37m-win_amd64.whl (221.0 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

cliquematch-3.0.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (343.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

cliquematch-3.0.0-cp37-cp37m-macosx_10_9_x86_64.whl (363.8 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

cliquematch-3.0.0-cp36-cp36m-win_amd64.whl (221.0 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

cliquematch-3.0.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (343.7 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

cliquematch-3.0.0-cp36-cp36m-macosx_10_9_x86_64.whl (363.8 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page