public class FuzzyLog10 extends FuzzyOneVariableFunction
fnFactory, fuzzyNumber, intervalFactory, numberOfSections
Constructor and Description |
---|
FuzzyLog10(PiecewiseLinear fuzzyNumber,
int number)
constructor that defines the input fuzzy number and the number of parts of the fuzzy number for calculation,
default fuzzyNumberFactory is used for result interval
|
FuzzyLog10(PiecewiseLinear fuzzyNumber,
int number,
FuzzyNumberFactory fnFactory)
constructor that defines the input fuzzy number, the number of parts of the fuzzy number for calculation
and fuzzyNumberFactory used to create the result interval
|
Modifier and Type | Method and Description |
---|---|
PiecewiseLinear |
propagate(double[] alphas)
function that applies function calculate for each value of the interval of alpha cuts
returns fuzzy number based on minimum and maximum of the output values
|
protected PiecewiseLinear |
specialCases(double[] alphas)
function for special cases of propagation of the fuzzy number through the function
returns null if the special cases are not valid for this fuzzy number or the resulting fuzzy number
|
java.lang.String |
toString()
each function must override this function with its name
|
calculate, propagate, propagate, setfuzzyNumber
public FuzzyLog10(PiecewiseLinear fuzzyNumber, int number)
fuzzyNumber
- number
- public FuzzyLog10(PiecewiseLinear fuzzyNumber, int number, FuzzyNumberFactory fnFactory)
fuzzyNumber
- number
- fnFactory
- protected PiecewiseLinear specialCases(double[] alphas)
FuzzyOneVariableFunction
specialCases
in class FuzzyOneVariableFunction
public PiecewiseLinear propagate(double[] alphas)
FuzzyOneVariableFunction
propagate
in class FuzzyOneVariableFunction
alphas
- set of alpha cuts for which the propagation should be computedpublic java.lang.String toString()
FuzzyOneVariableFunction
toString
in class FuzzyOneVariableFunction