package topology

  1. Overview
  2. Docs
type weight = int
type t = Topology.edge list
exception NegativeCycle of t
val shortest_path : Topology.t -> Topology.vertex -> Topology.vertex -> t option
val all_pairs_shortest_paths : Topology.t -> (weight * Topology.vertex * Topology.vertex * Topology.vertex list) list
OCaml

Innovation. Community. Security.