Interface DistanceMetric

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.jscience.physics.amount.Amount<? extends javax.measure.quantity.Quantity> calculateDistance​(IDataStream<org.palladiosimulator.measurementframework.TupleMeasurement> s1, IDataStream<org.palladiosimulator.measurementframework.TupleMeasurement> s2)
      This method contains the distance metric algorithm.
    • Method Detail

      • calculateDistance

        org.jscience.physics.amount.Amount<? extends javax.measure.quantity.Quantity> calculateDistance​(IDataStream<org.palladiosimulator.measurementframework.TupleMeasurement> s1,
                                                                                                        IDataStream<org.palladiosimulator.measurementframework.TupleMeasurement> s2)
        This method contains the distance metric algorithm.
        Parameters:
        s1 - First stream of measurement to compare.
        s2 - Second stream of measurement to compare.
        Returns:
        Return a generic Amount which can contain any Quantity. Returns null, if calcuation couldn't be executed.