Class Measure


  • public class Measure
    extends Object
    This class determines the value of each measure for each algorithm
    Author:
    Alberto Verdecia Cabrera (averdeciac@gmail.com)
    • Constructor Detail

      • Measure

        public Measure​(String name,
                       String filename,
                       boolean type,
                       int index)
        Measure Constructor
        Parameters:
        name -
        type -
        index -
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of measure
      • getFileName

        public String getFileName()
      • setFileName

        public void setFileName​(String fileName)
      • setName

        public void setName​(String name)
        Sets the name of measure
        Parameters:
        name -
      • getValue

        public Double getValue()
        Returns:
        the value of measure
      • setValue

        public void setValue​(Double value)
        Sets the value of measure
        Parameters:
        value -
      • getStd

        public Double getStd()
        Returns the standard deviation
        Returns:
        the standard deviation
      • setStd

        public void setStd​(Double std)
        Sets the standard deviation
        Parameters:
        std -
      • isType

        public boolean isType()
        Returns the type of measure
        Returns:
        the type of measure
      • setType

        public void setType​(boolean type)
        Sets the type of measure
        Parameters:
        type -
      • getIndex

        public int getIndex()
        Returns the index of measure
        Returns:
        the index of measure
      • setIndex

        public void setIndex​(int index)
        Sets the index of measure
        Parameters:
        index -
      • getValues

        public DoubleVector getValues()
        Returns:
        values
      • setValues

        public void setValues​(DoubleVector values)
        Parameters:
        values -
      • computeValue

        public void computeValue​(DoubleVector values)
        Calculates the value of measure
        Parameters:
        values -