An edge coloring of a multigraph is nearly equitable if, among the edges incident to each vertex, the numbers of edges colored with any two colors differ by at most two. It has been proved that the problem of finding a nearly equitable edge coloring can be solved in O(m 2 /k) time, where m and k are the numbers of edges and given colors, respectively. In this paper, we present a recursive algorithm that runs in O (mn log (m/(kn) + 1)) time, where n is the number of vertices. This algorithm improves the bestknown worst-case time complexity. When k = O(1), the time complexity of all known algorithms is O(m 2 ), which implies that this time complexity remains to be the best for more than twenty years since 1982 when Hilton and de Werra gave a constructive proof for the existence of a nearly equitable edge coloring for any multigraph. Our result is the first that improves this time complexity when m/n grows to infinity; e.g., m = n ϑ for an arbitrary constant ϑ > 1.
Note that the problem of determining the existence of an equitable edge coloring is NP-complete (see REF ).
An Efficient Algorithm for the Nearly Equitable Edge Coloring Problem
J. Graph Algorithms Appl.
J. Graph Algorithms Appl.
Mathematics Computer Science