Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

AGDMHS

This directory contains sources for the compsysmed/agdmhs container. It implements various algorithms for the minimum hitting set generation problem. They include:

Implementation

The implementations in src/alg are C++ code written by Andrew Gainer-Dewar and copyright of the Vera-Licona Research Group.

NOTE: these implementations store hypergraphs as lists of boost::dynamic_bitset, which take space in memory proportional to the largest index of a vertex. To maximize efficiency, you should be sure that the vertices of your hypergraph are "packed" down to [1, 2, …, n].

Building

To build the container yourself, run the following from this directory:

docker build -t compsysmed/agdmhs:latest .

You do not need to build the container yourself to use the algorithms. You can fetch a prebuilt copy of the container by running the following:

docker pull compsysmed/agdmhs:latest

License

Most of the code in this directory is available under the terms of the GPLv3 license. However, src/alg/include/concurrentqueue.h is taken from moodycamel::ConcurrentQueue under the terms of the BSD license.