bipartite : IGraph k e n -> Maybe (IArray k Bool) Tries to color a graph with only two colors, so that all
edges in the graph connect nodes of distinct colors.
Returns the coloring in case of a success and `Nothing` otherwise.
Totality: total
Visibility: exportmatch : IGraph k e n -> Maybe (IArray k (Maybe (Fin k))) Finds a maximal matching for a bipartite graph. Returns `Nothing`
in case the graph is not bipartite.
Totality: total
Visibility: exportperfectMatch : IGraph k e n -> Maybe (IArray k (Fin k)) Tries to find a perfect matching for a bipartite graph.
Returns `Nothing` in case the graph is not bipartite or no
perfect matching exists.
Totality: total
Visibility: exportmatchEdges : IGraph k e n -> List (Edge k e) Finds the edges of a maximal matching in a graph.
Totality: total
Visibility: exportmatchEdgesWhere : IGraph k e n -> (Fin k -> Bool) -> List (Edge k e) Finds the edges of a maximal matching in a subgraph.
Totality: total
Visibility: export