Class MaxFlowPreflowN3


  • public class MaxFlowPreflowN3
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MaxFlowPreflowN3​(int n)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCapValue​(int i, int j)  
      int maxFlow​(int s, int t)  
      void setCapValue​(int i, int j, int value)  
      void setUnbounded​(int i, int j)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MaxFlowPreflowN3

        public MaxFlowPreflowN3​(int n)
    • Method Detail

      • setCapValue

        public void setCapValue​(int i,
                                int j,
                                int value)
      • setUnbounded

        public void setUnbounded​(int i,
                                 int j)
      • getCapValue

        public int getCapValue​(int i,
                               int j)
      • maxFlow

        public int maxFlow​(int s,
                           int t)