Options
All
  • Public
  • Public/Protected
  • All
Menu

The Arc class contains the parameters of an arc in a directed graph: head node, cost, capacity and flow.

Hierarchy

  • Arc

Index

Constructors

Properties

Constructors

constructor

  • new Arc(head: number, cost: number, capacity: number, flow?: number): Arc
  • Parameters

    • head: number
    • cost: number
    • capacity: number
    • Default value flow: number = 0

    Returns Arc

Properties

capacity

capacity: number

cost

cost: number

flow

flow: number

head

head: number

Legend

  • Constructor
  • Property
  • Method
  • Private property

Generated using TypeDoc