Enum Class HessianApproximationType

java.lang.Object
java.lang.Enum<HessianApproximationType>
de.labathome.trustconstr.enums.HessianApproximationType
All Implemented Interfaces:
Serializable, Comparable<HessianApproximationType>, Constable

public enum HessianApproximationType extends Enum<HessianApproximationType>
Whether a Hessian-update strategy approximates the Hessian or its inverse.
  • Enum Constant Details

    • HESSIAN

      public static final HessianApproximationType HESSIAN
      Approximate the Hessian B ~= grad^2f (scipy 'hess').
    • INV_HESSIAN

      public static final HessianApproximationType INV_HESSIAN
      Approximate the inverse Hessian H ~= (grad^2f)^-^1 (scipy 'inv_hess').
  • Method Details

    • values

      public static HessianApproximationType[] 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 HessianApproximationType 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