Class LogNormDistFunctionFromMoments
java.lang.Object
de.uka.ipd.sdq.simucomframework.variables.functions.AbstractProbDistFunction
de.uka.ipd.sdq.simucomframework.variables.functions.LogNormDistFunctionFromMoments
- All Implemented Interfaces:
IFunction
Lognormal distribution from the distributions moments: Parameters mean and standard deviation.
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simucomframework.variables.functions.AbstractProbDistFunction
factory, randomGen
-
Constructor Summary
ConstructorDescriptionLogNormDistFunctionFromMoments
(de.uka.ipd.sdq.probfunction.math.IRandomGenerator random, de.uka.ipd.sdq.probfunction.math.IPDFFactory factory) -
Method Summary
-
Constructor Details
-
LogNormDistFunctionFromMoments
public LogNormDistFunctionFromMoments(de.uka.ipd.sdq.probfunction.math.IRandomGenerator random, de.uka.ipd.sdq.probfunction.math.IPDFFactory factory)
-
-
Method Details
-
checkParameters
Checks the validity of the parameter. LognormFromMoments takes two parameters mean and standard deviation mean needs to be larger than 0. stdev needs to be larger than 0.- 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
-