Class ExponentialFunction

java.lang.Object
com.datalogics.PDFL.Function
com.datalogics.PDFL.ExponentialFunction

public class ExponentialFunction extends Function
An interpolation between two output values as input values vary across a domain. For an Exponential Function, the curve between the two values is determined by the exponent N.
  • Constructor Details

    • ExponentialFunction

      public ExponentialFunction(List<Double> domain, int nOutputs, List<Double> C0, List<Double> C1, double N)
      Create an Exponential Function, which is the exponential interpolation between two output values as the input values vary across the domain.

      Parameters:
      domain - the domain of the function. 2 elements.
      nOutputs - the number of outputs of the function
      C0 - the output value when the input value is 0
      C1 - the output value when the input value is 1
      N - the exponential factor, which alters the curve of output values as the input values vary across the domain.
  • Method Details

    • delete

      public void delete()
      Overrides:
      delete in class Function
    • toString

      public String toString()
      A string value describing the function.
      Overrides:
      toString in class Function
    • getN

      public double getN()
      The exponential factor N.
    • setN

      public void setN(double arg0)
      The exponential factor N.
    • getC0

      public List<Double> getC0()
      The values for the function when the input is 0.0. There must be the same number of values as the number of outputs in the function.
    • setC0

      public void setC0(List<Double> C0)
      The values for the function when the input is 0.0. There must be the same number of values as the number of outputs in the function.
    • getC1

      public List<Double> getC1()
      The values for the function when the input is 1.0. There must be the same number of values as the number of outputs in the function.
    • setC1

      public void setC1(List<Double> C1)
      The values for the function when the input is 1.0. There must be the same number of values as the number of outputs in the function.