An open API service indexing awesome lists of open source software.

https://github.com/permutatriangle/hypergraphindependentsets

Programs for counting the number of independent sets in hypergraphs
https://github.com/permutatriangle/hypergraphindependentsets

Last synced: 12 months ago
JSON representation

Programs for counting the number of independent sets in hypergraphs

Awesome Lists containing this project

README

          

## Input format
~~~

..
..
..
..
~~~

Where `n` is the number of vertices, `m` is the number of constraints, `ci` is
the `i`:th constraint, and `cij` is the `j`:th vertex in the `i`:th constraint.

Say we have 10 vertices, and it is forbidden to include all of `0`, `1` and `2`
and it is forbidden to include both of `8` and `9`. Then the input should look
as follows:

~~~
10 2
0 1 2
8 9
~~~