Skip to content

daajoe/Jdrasil

 
 

Repository files navigation

Jdrasil

A Modular Tool to Compute Tree Decompositions

Authors: Max Bannach, Sebastian Berndt, and Thorsten Ehlers

About

Jdrasil is a tool to compute tree decompositions of simple, undirected graphs. It was developed for the first Parameterized Algorithms and Computational Experiments Challenge (PACE). It provides exact sequential and parallel, as well as heuristic algorithms.

Jdrasil is build in a very modular fashion. This allows researchers to simply add new algorithms, heuristics, or preprocessing routines, which can then be combined in any way.

Installation

For an installation that fits the PACE requirements change the path to the java compiler, the c++ compiler, the java directory containing jni.h and the java executable in the first four lines of Makefile. Afterwards you can simply execute the following:

cd jdrasil
make

The programs tw-exact, tw-heuristic, tw-exact-parallel, tw-heuristic-parallel should now work. You can use them as follows:

tw-exact < graph.gr
tw-exact -s seed < graph.gr

For a description of the graph file format, see the PACE website.

Maven

If you wish to use Jdrasil as Maven project, you have to build the C++ dependecies first.

make glucose
make pblib

Now you can do the "usual Maven stuff" in the folder containing pom.xml.

About

A Modular Library for Computing Tree Decompositions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 43.7%
  • C++ 29.7%
  • Java 21.4%
  • TeX 3.9%
  • Other 1.3%