@endo/compartment-mapper
Version:
The compartment mapper assembles Node applications in a sandbox
17 lines • 365 B
TypeScript
/**
* Types for the `generic-graph` module
*
* @module
*/
/**
* Context used for shortest-path traversal algorithm
*
* @template T The type of nodes in the graph
* @internal
*/
export interface TraversalContext<T = string, U = number> {
distances: Map<T, U>;
predecessors: Map<T, T>;
queue: Set<T>;
}
//# sourceMappingURL=generic-graph.d.ts.map