An open API service indexing awesome lists of open source software.

https://github.com/qequ/graphs_discrete2

A project that suites a set of greedy graph coloring, orders for greedy & bipartite checking algorithms
https://github.com/qequ/graphs_discrete2

Last synced: 12 months ago
JSON representation

A project that suites a set of greedy graph coloring, orders for greedy & bipartite checking algorithms

Awesome Lists containing this project

README

          

# Discrete Maths course project

A set of algorithms for greedy coloring graphs.


It uses as input the DIMACS format and we have implemented our own graph & vertice data structures

## Main Algorithms

### Greedy coloring graph

Classic implementation of the algorithm for coloring a graph with the
greedy heuristic

### Bipartite checking algorithm

Algorithm for checking if the given graph is bipartite. If not, color it with the greedy algorithm

### Different orders for vertices

Useful functions for order vertices accord to different principles;


  1. ordering vertices given their names in natural order

  2. Welsh-Powell order, i.e. ordering vertices in decreasing order of grade

  3. RMBC

  4. Others

> The most part of the code is written in spanish.