Module ojalgo

Enum Class ArtificialNeuralNetwork.Error

java.lang.Object
java.lang.Enum<ArtificialNeuralNetwork.Error>
org.ojalgo.ann.ArtificialNeuralNetwork.Error
All Implemented Interfaces:
Serializable, Comparable<ArtificialNeuralNetwork.Error>, java.lang.constant.Constable, BiFunction<Double,Double,Double>, BinaryOperator<Double>, DoubleBinaryOperator, BasicFunction, BinaryFunction<Double>, PrimitiveFunction.Binary
Enclosing class:
ArtificialNeuralNetwork

public static enum ArtificialNeuralNetwork.Error extends Enum<ArtificialNeuralNetwork.Error> implements PrimitiveFunction.Binary
  • Enum Constant Details

  • Method Details

    • values

      public static ArtificialNeuralNetwork.Error[] 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 ArtificialNeuralNetwork.Error 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
    • invoke

      public double invoke(Access1D<?> target, Access1D<?> current)
    • invoke

      public double invoke(double target, double current)
      Specified by:
      invoke in interface BinaryFunction<Double>