Documentation of 'org.jgrapht.experimental.alg.ApproximationAlgorithm' Java class
ApproximationAlgorithm
org.jgrapht.experimental.alg

Interface ApproximationAlgorithm<ResultType,V>

  • Type Parameters:
    ResultType - type of the result
    V - type of the input
    All Known Implementing Classes:
    GreedyColoring


    public interface ApproximationAlgorithm<ResultType,V>
    An interface for an approximation algorithm.
    • Method Detail

      • getUpperBound

        ResultType getUpperBound(java.util.Map<V,java.lang.Object> optionalData)
        Get the result.
        Parameters:
        optionalData - optional data
        Returns:
        the result
      • getLowerBound

        ResultType getLowerBound(java.util.Map<V,java.lang.Object> optionalData)
        Get the result.
        Parameters:
        optionalData - optional data
        Returns:
        the result
      • isExact

        boolean isExact()
        Checks if the algorithm is an exact algorithm.
        Returns:
        true if the algorithm is exact, false otherwise

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.