Answer the question
In order to leave comments, you need to log in
How to implement an exact algorithm for the correct coloring of the edges of a graph?
We need to find the chromatic index of the graph. So far, I have implemented only an inexact algorithm by searching for the degrees of the vertices of the graph, sequentially choosing the vertex with the maximum degree and coloring the incident edges of the selected vertex in different colors, while there are still uncolored ones.
That's why it is not accurate, which gives only the most approximate chromatic index.
Here is an example of his mistake, he paints with 5 colors:
Although it is possible with 4:
How to implement the exact algorithm for the correct coloring of the edges of the graph? Hitting the forehead with a search of all colors is not an option. We need something faster and more algorithmic. I don’t have any ideas myself, or rather I had them, but they are also inaccurate. I tried to google, I didn’t find anything normal for coloring edges, only for coloring vertices.
Answer the question
In order to leave comments, you need to log in
There are polynomial time algorithms that produce an optimal coloring of bipartite graphs and a coloring of a simple non-bipartite graph with {\Delta}+1 colors.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question