Class ImprMeasure

java.lang.Object
dynheurset.measure.Measure
dynheurset.measure.ImprMeasure

public class ImprMeasure
extends Measure
Measure the performance by the percentage improvement of the heuristic.
  • Field Summary

    Fields inherited from class dynheurset.measure.Measure

    MAX, runStat
  • Constructor Summary

    Constructors 
    Constructor Description
    ImprMeasure()  
  • Method Summary

    Modifier and Type Method Description
    double measure​(int heurIdx)
    Measure the performance of the heuristic indexed by heurIdx in the universal set.

    Methods inherited from class dynheurset.measure.Measure

    measure, setRunStat

    Methods inherited from class java.lang.Object

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

  • Method Details

    • measure

      public double measure​(int heurIdx)
      Description copied from class: Measure
      Measure the performance of the heuristic indexed by heurIdx in the universal set.
      Specified by:
      measure in class Measure
      Parameters:
      heurIdx - the index of the heuristic in the universal set
      Returns:
      the value of heuristic representing its quality