Skip to content

Implementation of the data reduction rule AlmostClique by Böcker et al.. This repository is part of my bachelor thesis.

Notifications You must be signed in to change notification settings

venondev/AlmostCliquePoly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This code is part of my bachelor thesis "On Efficient Cut-Based Data Reduction for Weighted Cluster Editing". It implements a data reduction rule called "AlmostClique" by Böcker et al. with polynomial running time and several optimizations to speed up the practical running time.

The details on the data reduction rule can be found here

The complete thesis will be available shortly.

Installation

In this project, we use Julia as the main programming language and a C++ minimum cut implementation and heuristic for AlmostClique which we embed using CxxWrap for Julia.

Julia

Install the Julia interpreter here

Afterwards, install the following packages by first opening the julia interactive shell, pressing "ALTGR + ]" and entering the following command.

add DataStructures CxxWrap BenchmarkTools

Libraries

Please first install the packages for the minimum cut library by Henziger, Noe, Schulz and Strash. /~https://github.com/VieCut/VieCut

Navigate to the directory WCELib and change the value of CMAKE_PREFIX_PATH in CmakeLists.txt to the installation of CXXWrap /home/USER/.julia/artifacts/ARTIFACT_ID.

Then, execute the build script build.sh .

Test Dataset

To test our implementation, we used the PACE Challenge 2021 Dataset. Please follow the install instructions here

Usage

To run the polynomial-time algorithm, the Large Neighbourhood heuristic and AlmostClique heuristic tests run the following command:

./runTest.sh path/to/pace/dataset/root/data/weighted

About

Implementation of the data reduction rule AlmostClique by Böcker et al.. This repository is part of my bachelor thesis.

Topics

Resources

Stars

Watchers

Forks