Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.72 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.72 KB

Parallel Graph Coloring

This project implements different well-known graph coloring algorithms, specifically vertex coloring.

Sequential algorithms:

Parallel algorithms:

This is a short manual. Refer to DOCUMENTATION.md to read the full description of the project, containing all design implementation choices.

Build (UNIX)

Requirements:

  • CMake (version >= 3.16)
  • Make
  • Boost library (dynamic_bitset required)
cd src && mkdir build && cd build
cmake ..
make
cd ../..

Run

cd src/build
./main [--help | -h] [--algo ALGO] [--graph GRAPH] [--threads THREADS] [--out OUT]

All the following arguments are OPTIONAL:

--help             Show help menu
--algo ALGO        Coloring algorithm. Choices: greedy, luby, jp, LDF (default: all)
--graph GRAPH      Name of the graph (default: all graphs in the assets folder)
--threads THREADS  Number of threads used in parallel algorithms (default: [2,4,8,12,MAX] if available)
--out OUT          Name of the output file (default: benchmarks.csv)