java.lang.Object
simpa.core.api.SolutionChecker
Class that can be used to evaluate the precision of the solution.
-
Constructor Summary
ConstructorsConstructorDescriptionSolutionChecker
(String elementName, FieldType fieldType, LengthUnit lengthUnit) Creates a new implementation for SolutionChecker. -
Method Summary
Modifier and TypeMethodDescriptiondouble
getNormalizedRmsError
(double scalingFactor) Gets the normalized RMS (root mean square) error for the element using the given scaling factor.
-
Constructor Details
-
SolutionChecker
Creates a new implementation for SolutionChecker.- Parameters:
elementName
- name of the element.fieldType
- type of field.lengthUnit
- unit for length.
-
-
Method Details
-
getNormalizedRmsError
Gets the normalized RMS (root mean square) error for the element using the given scaling factor.- Parameters:
scalingFactor
- scaling factor.- Returns:
- the normalized RMS error.
- Throws:
FileNotFoundException
- when the file is not found
-