package ocamlgraph

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Kruskal.GenericSource

Functor providing an implementation of Kruskal's minimum-spanning-tree algorithm using a user-defined union-find algorithm. Parameter W ensures that label on edges are comparable.

Parameters

module G : G
module W : Sig.ORDERED_TYPE with type t = G.E.label
module UF : UNIONFIND with type elt = G.V.t

Signature

Sourceval spanningtree : G.t -> G.E.t list
OCaml

Innovation. Community. Security.