Class PeakLinear

All Implemented Interfaces:
Invertible

public class PeakLinear extends AbstractNormalization implements Invertible
Author:
tim
  • Constructor Details

    • PeakLinear

      public PeakLinear()
      Beanstyle constructor of AbstractNormalize. No parameters required. Calls preInit(), init() and postInit();
  • Method Details

    • clone

      public AbstractNormalization clone()
      Specified by:
      clone in class AbstractNormalization
    • importFromXML

      public void importFromXML(org.jdom2.Element _masterNode)
      Description copied from class: AbstractNormalization
      Imports the normalisation parameters from a specified XML node.
      Specified by:
      importFromXML in class AbstractNormalization
      Parameters:
      _masterNode - the XML node to import the paramters from
    • exportToXML

      public org.jdom2.Element exportToXML()
      Export data structure to a XML node. Missing data, see class javadoc for details Returns null if an error occured during export
      Specified by:
      exportToXML in class AbstractNormalization
      Returns:
      the master node where the data structure values are anchored
    • getPeak

      public double getPeak()
      Returns:
      the minimum
    • setPeak

      public void setPeak(double _peak)
      Parameters:
      _peak - the minimum to set
    • isInverse

      public boolean isInverse()
      Specified by:
      isInverse in interface Invertible
      Returns:
      the inverse
    • setInverse

      public void setInverse(boolean _inverse)
      Specified by:
      setInverse in interface Invertible
      Parameters:
      _inverse - the inverse to set
    • normalize

      public double normalize(Criterion _criterion, double _value)
      Description copied from class: AbstractNormalization
      Normalize a single values according to the values contained in the passed criterion.
      Specified by:
      normalize in class AbstractNormalization
      Parameters:
      _criterion - the criterion which is referred to for normalisation
      _value - the value to be normalised
      Returns:
      the normalised value according to the the values of the criterion
    • getDomainRange

      public double[] getDomainRange(Criterion _criterion)
      Description copied from class: AbstractNormalization
      Get the actual range of the domain to which the values are normalised. This is sometimes explicitly set and sometimes computed from the criteria values themselves.
      Specified by:
      getDomainRange in class AbstractNormalization
      Parameters:
      _criterion - the criterion for which the domain range is requested
      Returns:
      an array containing the lower and upper bound of the domain