UNPKG

ts-ds-tool

Version:

Data structure and algorithm of TypeScript

10 lines (9 loc) 286 B
import { Graph } from "../../../graph/Graph"; import { GraphVertex } from "../../../graph/GraphVertex"; export declare function floydWarshall<T>(graph: Graph<T>, startVertex?: GraphVertex<T>): { distance?: undefined; } | { distance: { [index: string]: number; }; };