Skip to content

fra98/graph-coloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published