Idris2Doc : Data.Graph.Indexed.Util.Bipartite

Data.Graph.Indexed.Util.Bipartite

(source)

Definitions

bipartite : IGraphken->Maybe (IArraykBool)
  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: export
match : IGraphken->Maybe (IArrayk (Maybe (Fink)))
  Finds a maximal matching for a bipartite graph. Returns `Nothing`
in case the graph is not bipartite.

Totality: total
Visibility: export
perfectMatch : IGraphken->Maybe (IArrayk (Fink))
  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: export
matchEdges : IGraphken->List (Edgeke)
  Finds the edges of a maximal matching in a graph.

Totality: total
Visibility: export
matchEdgesWhere : IGraphken-> (Fink->Bool) ->List (Edgeke)
  Finds the edges of a maximal matching in a subgraph.

Totality: total
Visibility: export