{"id":16216148,"url":"https://github.com/fra98/graph-coloring","last_synced_at":"2025-08-01T03:09:28.306Z","repository":{"id":139985991,"uuid":"411759005","full_name":"fra98/graph-coloring","owner":"fra98","description":"Parallel graph coloring","archived":false,"fork":false,"pushed_at":"2022-03-23T18:31:42.000Z","size":44824,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T16:02:06.193Z","etag":null,"topics":["cpp","graph-coloring","parallel-computing"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fra98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-29T16:58:01.000Z","updated_at":"2022-03-23T18:22:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"42197f67-891b-4ded-bc31-d5c1b8ca89d3","html_url":"https://github.com/fra98/graph-coloring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fra98/graph-coloring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fra98%2Fgraph-coloring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fra98%2Fgraph-coloring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fra98%2Fgraph-coloring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fra98%2Fgraph-coloring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fra98","download_url":"https://codeload.github.com/fra98/graph-coloring/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fra98%2Fgraph-coloring/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265016759,"owners_count":23698368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","graph-coloring","parallel-computing"],"created_at":"2024-10-10T11:18:35.920Z","updated_at":"2025-07-12T16:02:41.522Z","avatar_url":"https://github.com/fra98.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parallel Graph Coloring\n\nThis project implements different well-known [graph coloring](https://en.wikipedia.org/wiki/Graph_coloring) algorithms, specifically vertex coloring.\n\nSequential algorithms:\n- Greedy [[Wiki]](https://en.wikipedia.org/wiki/Graph_coloring#Greedy_coloring)\n\nParallel algorithms:\n- Luby [[A simple parallel algorithm for the Maximal Independent Set problem, M. Luby, 1985]](http://compalg.inf.elte.hu/~tony/Oktatas/Osztott-algoritmusok/mis_1986_luby.pdf)\n- Jones \u0026 Plassmann [[A parallel graph coloring heuristic, M. Jones and T. Plassmann, 1992]](https://www.researchgate.net/publication/2768023_A_Parallel_Graph_Coloring_Heuristic)\n- LDF (Largest Degree First) [[A Comparison of Parallel Graph Coloring Algorithms, J. R. Allwright, 1995]](https://www.researchgate.net/publication/2296563_A_Comparison_of_Parallel_Graph_Coloring_Algorithms)\n\nThis is a short manual. Refer to DOCUMENTATION.md to read the full description of the project, containing all design implementation choices.\n\n\n## Build (UNIX)\n\nRequirements:\n- CMake (version \u003e= 3.16)\n- Make\n- [Boost library](https://www.boost.org/) (dynamic_bitset required)\n\n\n```\ncd src \u0026\u0026 mkdir build \u0026\u0026 cd build\ncmake ..\nmake\ncd ../..\n```\n\n## Run\n\n```\ncd src/build\n./main [--help | -h] [--algo ALGO] [--graph GRAPH] [--threads THREADS] [--out OUT]\n```\n\nAll the following arguments are OPTIONAL:\n\n    --help             Show help menu\n    --algo ALGO        Coloring algorithm. Choices: greedy, luby, jp, LDF (default: all)\n    --graph GRAPH      Name of the graph (default: all graphs in the assets folder)\n    --threads THREADS  Number of threads used in parallel algorithms (default: [2,4,8,12,MAX] if available)\n    --out OUT          Name of the output file (default: benchmarks.csv)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffra98%2Fgraph-coloring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffra98%2Fgraph-coloring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffra98%2Fgraph-coloring/lists"}