Package algs64

Class FlowEdge

java.lang.Object
algs64.FlowEdge

public class FlowEdge extends Object
The FlowEdge class represents a capacitated edge with a flow in a digraph.

For additional documentation, see Section 7.4 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

  • Field Details

    • v

      private final int v
    • w

      private final int w
    • capacity

      private final double capacity
    • flow

      private double flow
  • Constructor Details

    • FlowEdge

      public FlowEdge(int v, int w, double capacity)
    • FlowEdge

      public FlowEdge(int v, int w, double capacity, double flow)
    • FlowEdge

      public FlowEdge(FlowEdge e)
  • Method Details