Enum Class SolverAlgorithm

All Implemented Interfaces:
Serializable, Comparable<SolverAlgorithm>, java.lang.constant.Constable

public enum SolverAlgorithm extends Enum<SolverAlgorithm>
Enum class for all implemented algorithm solvers
Author:
Abhimanyu Chugh
  • Enum Constant Details

  • Method Details

    • values

      public static SolverAlgorithm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SolverAlgorithm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SolverAlgorithm>
    • supportsClosedClasses

      public boolean supportsClosedClasses()
      Method supportsClosedClasses.
      Returns:
      true if this algorithm supports closed classes
    • supportsOpenClasses

      public boolean supportsOpenClasses()
      Method supportsOpenClasses.
      Returns:
      true if this algorithm supports open classes
    • isExact

      public boolean isExact()
      Checks whether exact.
      Returns:
      true if this algorithm is exact
    • supportsLoadDependent

      public boolean supportsLoadDependent()
      Method supportsLoadDependent.
      Returns:
      true if the algorithm supports load dependent, false otherwise.
    • supportsPriorities

      public boolean supportsPriorities()
      Method supportsPriorities.
      Returns:
      true if the algorithm supports priorities, false otherwise.
    • isIterative

      public boolean isIterative()
      Checks whether iterative.
      Returns:
      true if the algorithm is iterative, false otherwise.
    • fromString

      public static SolverAlgorithm fromString(String algName)
      Find the enum value that corresponds to the given string
    • names

      public static String[] names()
      Returns an array of string representations of all potential SolverAlgorithm values
    • closedValues

      public static SolverAlgorithm[] closedValues()
      Returns an array of all closed SolverAlgorithm values
    • openValues

      public static SolverAlgorithm[] openValues()
      Returns an array of all open SolverAlgorithm values
    • mixedValues

      public static SolverAlgorithm[] mixedValues()
      Returns an array of all mixed SolverAlgorithm values