src/cplib/graph/warshall_floyd

  Source   Edit

Procs

proc warshall_floyd(g: DynamicGraph[float32] or StaticGraph[float32];
                    zero: float32 = 0.0'f32; inf: float32 = 1e+30'f32): tuple[
    negative_cycle: bool, d: seq[seq[float32]]]
  Source   Edit
proc warshall_floyd(g: DynamicGraph[float] or StaticGraph[float];
                    zero: float = 0.0; inf: float = 1e+100): tuple[
    negative_cycle: bool, d: seq[seq[float]]]
  Source   Edit
proc warshall_floyd(g: DynamicGraph[int32] or StaticGraph[int32];
                    zero: int32 = 0.int32; inf: int32 = INF32): tuple[
    negative_cycle: bool, d: seq[seq[int32]]]
  Source   Edit
proc warshall_floyd(g: DynamicGraph[int] or StaticGraph[int]; zero: int = 0;
                    inf: int = INF64): tuple[negative_cycle: bool,
    d: seq[seq[int]]]
  Source   Edit
proc warshall_floyd[T](g: DynamicGraph[T] or StaticGraph[T]; zero, inf: T): tuple[
    negative_cycle: bool, d: seq[seq[T]]]
  Source   Edit