Class CdfFromTraceKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static CdfResult cdfFromTrace(DoubleArray trace) Returns the empirical distribution function of the trace.
      final static CdfResult cdfFromWeightedTrace(DoubleArray trace, DoubleArray weights) Returns the empirical distribution function of a weighted trace.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • cdfFromTrace

         final static CdfResult cdfFromTrace(DoubleArray trace)

        Returns the empirical distribution function of the trace.

        Parameters:
        trace - The trace data
        Returns:

        CdfResult containing x (points) and y (values) of the empirical CDF

      • cdfFromWeightedTrace

         final static CdfResult cdfFromWeightedTrace(DoubleArray trace, DoubleArray weights)

        Returns the empirical distribution function of a weighted trace.

        Parameters:
        trace - The trace data
        weights - The weights for each sample
        Returns:

        CdfResult containing x (points) and y (values) of the empirical CDF