Class ReflectedNonLinearInterpolator

java.lang.Object
solvers.priority.interpolators.ReflectedNonLinearInterpolator
All Implemented Interfaces:
Interpolator

public class ReflectedNonLinearInterpolator extends Object implements Interpolator
Reflected non-linear interpolator of the priority MVA utilization calculators.
  • Constructor Details

    • ReflectedNonLinearInterpolator

      public ReflectedNonLinearInterpolator()
  • Method Details

    • interpolate

      public double interpolate(double a, double b, double c, double d, double x)
      (a, b), (c, d) y = d + f(x - c)/(x - c - 1)

      f is a scalar factor to ensure it passes through (a, b) f = (a - c - 1) * (b - d) / (a - c)

      Specified by:
      interpolate in interface Interpolator