Skip to content

These scripts were used for solving a graph coloring problem with 3 different approaches: exhaustive search, greedy and metaheuristics (genetic algorithm).

Notifications You must be signed in to change notification settings

alexchicano/Graph-D-coloring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph-D-coloring

This repository contains scripts developed to solve a graph coloring problem using three distinct approaches: exhaustive search, greedy algorithms, and metaheuristics (specifically, a genetic algorithm).

Contents

  • checker.cc: Validates the correctness of the graph coloring solutions.
  • color_par.cc: Manages parallel processing for coloring algorithms.
  • exh.cc: Implements the exhaustive search algorithm for graph coloring.
  • exh_cb.cc: An alternative version of the exhaustive search algorithm with callback functions.
  • greedy.cc: Contains the greedy algorithm for graph coloring.
  • mh.cc: Implements the metaheuristic approach using a genetic algorithm.
  • Makefile: Facilitates the compilation of the code.
  • result.txt: Stores the results obtained from running the algorithms.

About

These scripts were used for solving a graph coloring problem with 3 different approaches: exhaustive search, greedy and metaheuristics (genetic algorithm).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published