Class GammaDistFunction
- java.lang.Object
-
- de.uka.ipd.sdq.simucomframework.variables.functions.AbstractProbDistFunction
-
- de.uka.ipd.sdq.simucomframework.variables.functions.GammaDistFunction
-
- All Implemented Interfaces:
IFunction
public class GammaDistFunction extends AbstractProbDistFunction
Gamma distribution with shape alpha > 0 and scale parameter theta > 0 There is another way to write the gamma function with k = alpha or rate parameter beta = 1/theta,
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.simucomframework.variables.functions.AbstractProbDistFunction
factory, randomGen
-
-
Constructor Summary
Constructors Constructor Description GammaDistFunction(de.uka.ipd.sdq.probfunction.math.IRandomGenerator randomGen, de.uka.ipd.sdq.probfunction.math.IPDFFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkParameters(List<Object> parameters)
Test whether the given parameters can be processed by this functionObject
evaluate(List<Object> parameters)
Evaluate the functions result using the parameters given
-
-
-
Method Detail
-
checkParameters
public boolean checkParameters(List<Object> parameters)
Description copied from interface:IFunction
Test whether the given parameters can be processed by this function- Parameters:
parameters
- A set of parameters to be processed- Returns:
- true if the parameters fit to the functions preconditions, false otherwise
-
-