Class MinFunction
java.lang.Object
de.uka.ipd.sdq.simucomframework.variables.functions.MinFunction
- All Implemented Interfaces:
IFunction
Implements the minimum function as in @link
Math
, e.g. Math.min(double, double)
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Name used in the stochastic expression for this function. -
Constructor Summary
-
Method Summary
-
Field Details
-
MIN_FUNCTION_NAME
Name used in the stochastic expression for this function.- See Also:
-
-
Constructor Details
-
MinFunction
public MinFunction()
-
-
Method Details
-
checkParameters
Description copied from interface:IFunction
Test whether the given parameters can be processed by this function- Specified by:
checkParameters
in interfaceIFunction
- 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
-