Petr Laštovička and Jan Legerský
In this repository we provide our code for the NAC-coloring search algorithm
described in the paper. We also provide a notebook NAC_playground.ipynb
where
you can experiment with the algorithm and NAC_presentation.ipynb
in which you can see how we run and analyze our benchmarks. You can also run them yourself.
The interface of our code is also described in the notebooks, mainly in NAC_presentation.ipynb
.
Python 3.12 or higher is required.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
You can run tests by executing pytest
.
The packages also contains base for Cartesian NAC-coloring search,
the related tests are skipped for now as it is not yet fully implemented
for every approach.
nac
- the code of our NAC implementationbenchmarks
- Core related to benchmarks - graphs loading, generation, notebook utility functionsbenchmarks/precomputed
- Results of the benchmarks as run on our hardwaregraphs_store
- stores generated graphs of selected classes