Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Edge

property

{number} capacity - The flow capacity of this edge

property

{number} flow - The current flow of this edge

property

{number} resEdge -

property

{number} to - where this edge leads to

Hierarchy

  • Edge

Index

Constructors

constructor

  • new Edge(vertex1: Vertex, vertex2: Vertex, weight?: undefined | number, directional?: undefined | false | true): Edge

Properties

capacity

capacity: number

Optional directional

directional: undefined | false | true

flow

flow: number

resEdge

resEdge: number

to

to: number

vertices

vertices: [Vertex, Vertex]

weight

weight: number

Generated using TypeDoc