Class OWA

    • Constructor Summary

      Constructors 
      Constructor Description
      OWA​(double[] weights)
      Initialize with provided weights.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double aggregate​(double[] values)
      Aggregate the provided values.
      protected double arraySum​(double[] values)
      Method to sum the elements in an double array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OWA

        public OWA​(double[] weights)
        Initialize with provided weights.
        Parameters:
        weights -
    • Method Detail

      • arraySum

        protected final double arraySum​(double[] values)
        Method to sum the elements in an double array. Used to check if the sum of vector's elements is equal to 1.0.
        Parameters:
        values -
        Returns: