Popular recipes by Praveen http://code.activestate.com/recipes/users/4192603/2015-07-30T13:40:41-07:00ActiveState Code Recipesedge-coloring of a bipartite graph (Python) 2015-07-30T13:40:41-07:00Praveenhttp://code.activestate.com/recipes/users/4192603/http://code.activestate.com/recipes/579088-edge-coloring-of-a-bipartite-graph/ <p style="color: grey"> Python recipe 579088 by <a href="/recipes/users/4192603/">Praveen</a> (<a href="/recipes/tags/algorithms/">algorithms</a>). </p> <p>Konig's theorem tells us that every bipartite graph with maximum vertex-degree d can be edge-colored with just d colors. This recipe relies on a previous recipe by D.Eppstein (123641) : "Hopcroft-Karp bipartite matching".</p>