package topology

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

Innovation. Community. Security.