Class LogNormDistFunction
java.lang.Object
de.uka.ipd.sdq.simucomframework.variables.functions.AbstractProbDistFunction
de.uka.ipd.sdq.simucomframework.variables.functions.LogNormDistFunction
- All Implemented Interfaces:
IFunction
Lognormal distribution with parameters scale parameter mu and shape parameter sigma > 0.
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simucomframework.variables.functions.AbstractProbDistFunction
factory, randomGen
-
Constructor Summary
ConstructorDescriptionLogNormDistFunction
(de.uka.ipd.sdq.probfunction.math.IRandomGenerator randomGen, de.uka.ipd.sdq.probfunction.math.IPDFFactory factory) -
Method Summary
-
Constructor Details
-
LogNormDistFunction
public LogNormDistFunction(de.uka.ipd.sdq.probfunction.math.IRandomGenerator randomGen, de.uka.ipd.sdq.probfunction.math.IPDFFactory factory)
-
-
Method Details
-
checkParameters
Checks the validity of the parameter. Lognorm takes two parameters mu (scale parameter) and sigma (shape parameter) sigma needs to be larger than 0. mu parameter can be any double- Parameters:
parameters
- A set of parameters to be processed- Returns:
- true if the parameters fit to the functions preconditions, false otherwise
-
evaluate
Description copied from interface:IFunction
Evaluate the functions result using the parameters given- Parameters:
parameters
- Parameters for the function- Returns:
- Value of the function
-