Class MaximumFlowAlgorithm.MaximumFlowImpl<E>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<E,​java.lang.Double> flow  
      private java.lang.Double value  
    • Constructor Summary

      Constructors 
      Constructor Description
      MaximumFlowImpl​(java.lang.Double value, java.util.Map<E,​java.lang.Double> flow)
      Create a new maximum flow
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<E,​java.lang.Double> getFlow()
      Returns mapping from edge to flow value through this particular edge
      java.lang.Double getValue()
      Returns value of the maximum-flow for the given network
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        private java.lang.Double value
      • flow

        private java.util.Map<E,​java.lang.Double> flow
    • Constructor Detail

      • MaximumFlowImpl

        public MaximumFlowImpl​(java.lang.Double value,
                               java.util.Map<E,​java.lang.Double> flow)
        Create a new maximum flow
        Parameters:
        value - the flow value
        flow - the flow map