Skip to content

shazzad-hasan/graph-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graph-analysis

Given an undirected graph, a graph coloring problem is to find an assignment of labels (traditionally referred to as colors) to the vertices (nodes) of a graph such that no two adjacent vertices are of the same color, while using the smallest number of colors possible.

The project involves processing a set of graph data files, named GraphR1-2024.txt to GraphR5-2024.txt. Each file specifies a graph by listing the vertices of each edge, separated by a space, on each line. The goals of this project are to:

  • Construct a graph data structure in Python
  • Create DIMACS SAT instances from the graphs
  • Use an SAT solver to calculate the chromatic number, clique number, and independence number
  • Check if the graph admits an acyclic 2-colouring and acyclic 3-colouring

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published