Interface MaximumProfitToCostRatioAnalyzer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List cycle()
      Return the nodes on the cycle that corresponds to the maximum profit to cost ratio as an ordered list.
      double maximumRatio()
      Return the maximum profit to cost ratio.
    • Method Detail

      • cycle

        java.util.List cycle()
        Return the nodes on the cycle that corresponds to the maximum profit to cost ratio as an ordered list. If there is more than one cycle with the same maximal/minimal cycle, one of them is returned randomly, but the same cycle is returned by different invocations of the method, unless the graph changes.
        Returns:
        Return the nodes on the cycle that corresponds to the maximum profit to cost ratio as an ordered list.
      • maximumRatio

        double maximumRatio()
        Return the maximum profit to cost ratio.
        Returns:
        Return the maximum profit to cost ratio.