Class CorrelationDataPair

All Implemented Interfaces:
Comparable

public class CorrelationDataPair extends PirolPoint
Author:
Ole Rahn, FH Osnabrück - University of Applied Sciences Osnabrück, Project: PIROL (2005), Subproject: Daten- und Wissensmanagement modified: [sstein]: 16.Feb.2009 changed logger-entries to comments
  • Constructor Details

    • CorrelationDataPair

      public CorrelationDataPair(double[] coords)
      Parameters:
      coords - coordinates as a double array
    • CorrelationDataPair

      public CorrelationDataPair(double[] coords, int index)
      Parameters:
      coords - coordinates as a double array
      index - index of the CorrelationDataPair
    • CorrelationDataPair

      public CorrelationDataPair(double[] coords, int index, ScaleChanger scaler, boolean prescaled)
      Parameters:
      coords - coordinates as a double array
      index - index of the CorrelationDataPair
      scaler -
      prescaled -
    • CorrelationDataPair

      public CorrelationDataPair(double[] coords, int index, ScaleChanger scaler)
      Parameters:
      coords - coordinates as a double array
      index - index of the CorrelationDataPair
      scaler -
  • Method Details

    • compareValues

      public int compareValues(int valIndex1, int valIndex2) throws Exception
      function to compare value of a (scaled) data pair
      Parameters:
      valIndex1 - index of first value to compare
      valIndex2 - index of first value to compare
      Returns:
      1 if first value > second value, 0 if equal, else -1
      Throws:
      Exception - if an Exception occured