Class CMAESOptimizer.DoubleIndex

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int index
      Index into sorted array.
      private double value
      Value to compare.
    • Constructor Summary

      Constructors 
      Constructor Description
      DoubleIndex​(double value, int index)  
    • Field Detail

      • value

        private final double value
        Value to compare.
      • index

        private final int index
        Index into sorted array.
    • Constructor Detail

      • DoubleIndex

        DoubleIndex​(double value,
                    int index)
        Parameters:
        value - Value to compare.
        index - Index into sorted array.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object