Package runner

Class Result

java.lang.Object
runner.Result

public class Result
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Result​(java.util.List<ThreadOutput> outputList)  
  • Method Summary

    Modifier and Type Method Description
    double[] avgDisimprovement()
    Returns the average percentage disimprovement for each heuristic across all runs.
    java.util.List<double[]> avgDisimprovementOverPeriods()
    Returns the average percentage disimprovement for each heuristic across all runs over several periods.
    double[] avgDurations()
    Returns the ratios of the share of all heuristics in the total computational time used by all heuristics.
    double[] avgGroupDisimprovement()
    Returns the ratios of the contribution of all heuristics in the total percentage disimprovement made by all heuristics.
    java.util.List<double[]> avgGroupDisimprovementOverPeriods()
    Returns the ratios of percentage disimprovement that each heuristic has contributed in the total percentage disimprovement across all runs over several periods.
    double[] avgGroupImprovement()
    Returns the ratios of the contribution of all heuristics in the total percentage improvement made by all heuristics.
    java.util.List<double[]> avgGroupImprovementOverPeriods()
    Returns the ratios of percentage improvement that each heuristic has contributed in the total percentage improvement across all runs over several periods.
    double[] avgGroupNumberOfDisimprovements()
    Returns the ratios of the contribution of all heuristics in the total number of disimprovements made by all heuristics.
    java.util.List<double[]> avgGroupNumberOfDisimprovementsOverPeriods()
    Returns the ratios of number of disimprovements that each heuristic has contributed in the total number of disimprovements across all runs over several periods.
    double[] avgGroupNumberOfImprovements()
    Returns the ratios of the contribution of all heuristics in the total number of improvements made by all heuristics.
    java.util.List<double[]> avgGroupNumberOfImprovementsOverPeriod()
    Returns the ratios of number of improvements that each heuristic has contributed in the total number of improvements across all runs over several periods.
    double[] avgImprovement()
    Returns the average percentage improvement for each heuristic across all runs.
    java.util.List<double[]> avgImprovementOverPeriods()
    Returns the average percentage improvement for each heuristic across all runs over several periods.
    double[] avgNumberOfDisimprovements()
    Returns the average number of disimprovements for each heuristic across all runs.
    java.util.List<double[]> avgNumberOfDisimprovementsOverPeriods()
    Returns the average number of disimprovements for each heuristic across all runs over several periods.
    double[] avgNumberOfImprovements()
    Returns the average number of improvements for each heuristic across all runs.
    java.util.List<double[]> avgNumberOfImprovementsOverPeriods()
    Returns the average number of improvements for each heuristic across all runs over several periods.
    double max()
    Returns the maximum value of all runs.
    double mean()
    Returns the mean of all runs.
    double median()
    Returns the median of all runs.
    double min()
    Returns the minimum value of all runs.
    double std()
    Returns the standard deviation.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • min

      public double min()
      Returns the minimum value of all runs.
      Returns:
      the minimum value of all runs
    • mean

      public double mean()
      Returns the mean of all runs.
      Returns:
      the mean of all runs
    • std

      public double std()
      Returns the standard deviation.
      Returns:
      the standard deviation
    • median

      public double median()
      Returns the median of all runs.
      Returns:
      the median of all runs
    • max

      public double max()
      Returns the maximum value of all runs.
      Returns:
      the maximum value of all runs
    • avgImprovement

      public double[] avgImprovement()
      Returns the average percentage improvement for each heuristic across all runs.

      The value at index idx of the returned array represents the average percentage improvement of the heuristic at index idx in the universal set.

      Returns:
      the average percentage improvement for each heuristic across all runs
    • avgDisimprovement

      public double[] avgDisimprovement()
      Returns the average percentage disimprovement for each heuristic across all runs.

      The value at index idx of the returned array represents the average percentage disimprovement of the heuristic at index idx in the universal set.

      Returns:
      the average percentage disimprovement for each heuristic across all runs
    • avgNumberOfImprovements

      public double[] avgNumberOfImprovements()
      Returns the average number of improvements for each heuristic across all runs.

      The value at index idx of the returned array represents the average number of improvements of the heuristic at index idx in the universal set.

      Returns:
      the average number of improvements for each heuristic across all runs
    • avgNumberOfDisimprovements

      public double[] avgNumberOfDisimprovements()
      Returns the average number of disimprovements for each heuristic across all runs.

      The value at index idx of the returned array represents the average number of disimprovements of the heuristic at index idx in the universal set.

      Returns:
      the average number of disimprovements for each heuristic across all runs
    • avgGroupImprovement

      public double[] avgGroupImprovement()
      Returns the ratios of the contribution of all heuristics in the total percentage improvement made by all heuristics.

      The value at index idx is the ratio of percentage improvement that the the heuristic at index idx in the universal set has contributed to the total percentage improvement.

      Returns:
      the ratios of the contribution of all heuristic in the total percentage improvement made by all heuristics.
    • avgGroupDisimprovement

      public double[] avgGroupDisimprovement()
      Returns the ratios of the contribution of all heuristics in the total percentage disimprovement made by all heuristics.

      The value at index idx is the ratio of percentage disimprovement that the the heuristic at index idx in the universal set has contributed to the total percentage disimprovement.

      Returns:
      the ratios of the contribution of all heuristic in the total percentage disimprovement made by all heuristics.
    • avgGroupNumberOfImprovements

      public double[] avgGroupNumberOfImprovements()
      Returns the ratios of the contribution of all heuristics in the total number of improvements made by all heuristics.

      The value at index idx is the ratio of number of improvements that the the heuristic at index idx in the universal set has contributed to the total number improvements.

      Returns:
      the ratios of the contribution of all heuristic in the total number of improvements made by all heuristics.
    • avgGroupNumberOfDisimprovements

      public double[] avgGroupNumberOfDisimprovements()
      Returns the ratios of the contribution of all heuristics in the total number of disimprovements made by all heuristics.

      The value at index idx is the ratio of number of disimprovements that the the heuristic at index idx in the universal set has contributed to the total number disimprovements.

      Returns:
      the ratios of the contribution of all heuristic in the total number of disimprovements made by all heuristics.
    • avgDurations

      public double[] avgDurations()
      Returns the ratios of the share of all heuristics in the total computational time used by all heuristics.

      The value at index idx is the share in the computational time that the the heuristic at index idx in the universal set has used up.

      Returns:
      the ratios of the share of all heuristics in the total computational time used by all heuristics.
    • avgImprovementOverPeriods

      public java.util.List<double[]> avgImprovementOverPeriods()
      Returns the average percentage improvement for each heuristic across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average percentage improvement of the heuristic at index idx in the universal set in the period pd.

      Returns:
      the average percentage improvement for each heuristic across all runs over several periods
    • avgDisimprovementOverPeriods

      public java.util.List<double[]> avgDisimprovementOverPeriods()
      Returns the average percentage disimprovement for each heuristic across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average percentage disimprovement of the heuristic at index idx in the universal set in the period pd.

      Returns:
      the average percentage disimprovement for each heuristic across all runs over several periods
    • avgNumberOfImprovementsOverPeriods

      public java.util.List<double[]> avgNumberOfImprovementsOverPeriods()
      Returns the average number of improvements for each heuristic across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average number of improvements of the heuristic at index idx in the universal set in the period pd.

      Returns:
      the average number of improvements for each heuristic across all runs over several periods
    • avgNumberOfDisimprovementsOverPeriods

      public java.util.List<double[]> avgNumberOfDisimprovementsOverPeriods()
      Returns the average number of disimprovements for each heuristic across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average number of disimprovements of the heuristic at index idx in the universal set in the period pd.

      Returns:
      the average number of disimprovements for each heuristic across all runs over several periods
    • avgGroupImprovementOverPeriods

      public java.util.List<double[]> avgGroupImprovementOverPeriods()
      Returns the ratios of percentage improvement that each heuristic has contributed in the total percentage improvement across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average ratio of percentage improvement that the heuristic at index idx in the universal set in the period pd has contributed to the total percentage improvement.

      Returns:
      the ratios of percentage improvement that each heuristic has contributed in the total percentage improvement across all runs over several periods
    • avgGroupDisimprovementOverPeriods

      public java.util.List<double[]> avgGroupDisimprovementOverPeriods()
      Returns the ratios of percentage disimprovement that each heuristic has contributed in the total percentage disimprovement across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average ratio of percentage disimprovement that the heuristic at index idx in the universal set in the period pd has contributed to the total percentage disimprovement.

      Returns:
      the ratios of percentage disimprovement that each heuristic has contributed in the total percentage disimprovement across all runs over several periods
    • avgGroupNumberOfImprovementsOverPeriod

      public java.util.List<double[]> avgGroupNumberOfImprovementsOverPeriod()
      Returns the ratios of number of improvements that each heuristic has contributed in the total number of improvements across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average ratio of number of improvements that the heuristic at index idx in the universal set in the period pd has contributed to the total number of improvements.

      Returns:
      the ratios of number of improvements that each heuristic has contributed in the total number of improvements across all runs over several periods
    • avgGroupNumberOfDisimprovementsOverPeriods

      public java.util.List<double[]> avgGroupNumberOfDisimprovementsOverPeriods()
      Returns the ratios of number of disimprovements that each heuristic has contributed in the total number of disimprovements across all runs over several periods.

      The search is made of several periods of equal computational time. The performance of each heuristic is observed in each period.

      The performance of each heuristic in a period pd is an array at index pd-1 in the returned list. The value at index idx in the returned array represents the average ratio of number of disimprovements that the heuristic at index idx in the universal set in the period pd has contributed to the total number of disimprovements.

      Returns:
      the ratios of number of disimprovements that each heuristic has contributed in the total number of disimprovements across all runs over several periods