Class SmoothingFunction

java.lang.Object
org.tweetyproject.math.func.SmoothingFunction
All Implemented Interfaces:
BinaryFunction<Double,Double,Double>

public class SmoothingFunction extends Object implements BinaryFunction<Double,Double,Double>
A function that smoothes two values with a smooting factor, i.e. given a smoothing factor X and two values y1, y2 it returns X * y1 + (1-X) * y2.
Author:
Matthias Thimm
  • Constructor Details

    • SmoothingFunction

      public SmoothingFunction(double factor)
      Creates a new smoothing function with the given factor.
      Parameters:
      factor - some smoothing factor.
  • Method Details