Efficient Defective Clique Enumeration and Search with Worst-Case Optimal Search Space (SIGMOD 2026)
This repository implements algorithms for maximal k-defective clique enumeration and maximum k-defective clique search.
mkdir build
cd build
cmake .. -DMAXIMAL=ON
makemkdir build
cd build
cmake .. -DMAXIMUM=ON
makeAn executable named main.out will be generated in the build/main directory.
In the build directory:
./main/main.out {graph-path} {k} {q}./main/main.out {graph-path} {k}For example, to run the maximal k-defective clique enumeration algorithm:
./main/main.out ../datasets/soc-FourSquare/ 1 30Our data format follows the binary format described here: https://lijunchang.github.io/Cohesive_subgraph_book/datasets