Skip to content

JulietteVl/crossing-minimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1-Sided Crossing minimization

DOI License Tests

How to use

To use the heuristics, compile (i.e g++ src/main.cpp) and run:

path/to/excecutable input > output

Requirements

No external library should be necessary. Built with C++ 17.

For developers

To run the tests locally, run the following in the tests folder:

g++ -o test.out test_heuristics.cpp -lgtest -lgtest_main -pthread && ./test.out

This requires Google test.

To assess performance on the medium test set, run the following in the tests folder:

./crossing_counts.sh && python crossing_counts_sort.py < crossing_counts.txt

This requires numpy and pace2024-verifier to be installed.