Class ErrorCalculationFactory
java.lang.Object
net.simplace.sim.util.statistics.ErrorCalculationFactory
Creates the error calculation method for the label given by the user (e.g. in a selector or statistic).
- Author:
- Gunther Krauss
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumLabels of the error calculation methods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCalculationMethodgetErrorCalculator(String errorlabel) Returns a new error calculation method for the label.
-
Constructor Details
-
ErrorCalculationFactory
public ErrorCalculationFactory()
-
-
Method Details
-
getErrorCalculator
Returns a new error calculation method for the label.- Parameters:
errorlabel- label of the method, a name ofErrorCalculationFactory.ERROR_CALCULATION_MODE(case insensitive, the labels are unique ignoring case)- Returns:
- the calculation method
- Throws:
IllegalArgumentException- if the label is unknown
-