Class MinimumFillDegreeFunction
- java.lang.Object
-
- org.hortonmachine.gears.utils.math.functions.MinimumFillDegreeFunction
-
- All Implemented Interfaces:
ISingleArgmentFunction
public final class MinimumFillDegreeFunction extends Object implements ISingleArgmentFunction
Mathematical function for the minimum fill degree.It's a function that is used to evaluate the empty degree angle.
The parameters required by the functions in
setParameters(double...)are:- known the know value.
- exponent the value used as exponent.
- minG the fill degree
- Author:
- Daniele Andreis
-
-
Constructor Summary
Constructors Constructor Description MinimumFillDegreeFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetValue(double x)Return the value of the function in a specific point.voidsetParameters(double... params)Set the parameters for the particular function.
-
-
-
Method Detail
-
getValue
public double getValue(double x)
Description copied from interface:ISingleArgmentFunctionReturn the value of the function in a specific point.- Specified by:
getValuein interfaceISingleArgmentFunction- Parameters:
x- the point where evaluate the function.- Returns:
- the function value.
-
setParameters
public void setParameters(double... params)
Description copied from interface:ISingleArgmentFunctionSet the parameters for the particular function.The list and definition of the parameters are described in the class documentation of each function.
- Specified by:
setParametersin interfaceISingleArgmentFunction- Parameters:
params- the parameters to set.
-
-