UNPKG

@cedoor/nfa

Version:

TypeScript implementation of some network flow algorithms.

12 lines (11 loc) 313 B
/** * The Arc class contains the parameters of an arc in a * directed graph: head node, cost, capacity and flow. */ export default class Arc { head: number; cost: number; capacity: number; flow: number; constructor(head: number, cost: number, capacity: number, flow?: number); }