Class UnitRegressionStat

java.lang.Object
org.drip.regression.core.UnitRegressionStat

public class UnitRegressionStat
extends java.lang.Object
UnitRegressionStat creates the statistical details for the Unit Regressor. It holds the following:
  • Execution Initialization Delay
  • Execution time mean, variance, maximum, and minimum
  • The full list of individual execution times




Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    UnitRegressionStat()
    Empty Constructor
  • Method Summary

    Modifier and Type Method Description
    boolean addExecTime​(long lExecTime)
    Add another run execution time
    java.lang.String displayString​(java.lang.String strRegressionUnit)
    Return the string version of the statistics
    boolean generateStat()
    Generate the statistics across all the execution times generated
    long getInitializationDelay()
    Get the delay when the regressor is invoked for the first time
    long getMax()
    Get the Maximum in the execution time
    long getMean()
    Get the Mean in the execution time
    long getMin()
    Get the Minimum in the execution time
    int getRuns()
    Get the number of runs for the statistics
    long getVariance()
    Get the variance in the execution time

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UnitRegressionStat

      public UnitRegressionStat()
      Empty Constructor
  • Method Details

    • addExecTime

      public boolean addExecTime​(long lExecTime)
      Add another run execution time
      Parameters:
      lExecTime - Execution Time
      Returns:
      TRUE - Executed time run successfully added
    • generateStat

      public boolean generateStat()
      Generate the statistics across all the execution times generated
      Returns:
      TRUE - Statistics successfully generated
    • getRuns

      public int getRuns()
      Get the number of runs for the statistics
      Returns:
      Number of runs
    • getMean

      public long getMean()
      Get the Mean in the execution time
      Returns:
      Execution Time Mean
    • getMin

      public long getMin()
      Get the Minimum in the execution time
      Returns:
      Execution Time Minimum
    • getMax

      public long getMax()
      Get the Maximum in the execution time
      Returns:
      Execution Time Maximum
    • getVariance

      public long getVariance()
      Get the variance in the execution time
      Returns:
      Execution Time Variance
    • getInitializationDelay

      public long getInitializationDelay()
      Get the delay when the regressor is invoked for the first time
      Returns:
      Initialization Delay
    • displayString

      public java.lang.String displayString​(java.lang.String strRegressionUnit)
      Return the string version of the statistics
      Parameters:
      strRegressionUnit - Name the unit for which the regression run was done
      Returns:
      String holding the content of the unit regression statistics