public interface TempFactor
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static double
    wTemp(int i, int n, double halvingDistPerc)
    Calculate the temporal factor depending on the distance to the present.
  • Method Details

    • wTemp

      static double wTemp(int i, int n, double halvingDistPerc)
      Calculate the temporal factor depending on the distance to the present.
      Parameters:
      i - The task's index in the de facto sequence.
      n - The amount of tasks in the de facto sequence.
      halvingDistPerc - Percentage of the de facto task, at which the tempFactor shall equal 0.5.
      Returns:
      The temporal factor for the given input between 0 and 1.