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

Latest commit

 

History

History
30 lines (23 loc) · 1.28 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.28 KB

PACE 2018 Steiner Tree Algorithms – Archive

This repository contains Rust implementations for the Tracks 1 and 3 of the 2018 PACE challenge.

I wrote this for an oral exam for an algorithm engineering class at university. It is probably not suitable for real-world applications.

I implemented the following algorithms:

Usage (Benchmarks)

The easiest way to run the benchmarks is by running the benchmark.sh script in this repository. The usage is as follows:

./benchmark.sh results.csv path/to/pace_instance_directory

The benchmark results are then stored in results.csv.

Usage (Tests, Example)

For a "real" example program that runs all the algorithms and does some sanity-checking of the results see examples/run_all.rs. You can e.g. execute it on Instance 001 of PACE 2018 Track 1.

cargo run --release --example=run_all path/to/instance001.gr