Class WeightedPolynomialEstimatorTest
java.lang.Object
com.irurueta.numerical.polynomials.estimators.WeightedPolynomialEstimatorTest
- All Implemented Interfaces:
PolynomialEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private int
private int
private static final int
private static final double
private static final int
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkIsLocked
(PolynomialEstimator estimator) void
onEstimateEnd
(PolynomialEstimator estimator) void
onEstimateStart
(PolynomialEstimator estimator) private void
reset()
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
-
Field Details
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
MIN_DEGREE
private static final int MIN_DEGREE- See Also:
-
MAX_DEGREE
private static final int MAX_DEGREE- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd
-
-
Constructor Details
-
WeightedPolynomialEstimatorTest
WeightedPolynomialEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetMaxEvaluations
- Throws:
LockedException
-
testIsSetSortWeightsEnabled
- Throws:
LockedException
-
testGetSetEvaluationsAndWeights
- Throws:
LockedException
-
testGetSetDegree
- Throws:
LockedException
-
testGetSetDegreeEvaluationsAndWeights
- Throws:
LockedException
-
testIsReady
- Throws:
LockedException
-
testGetMinNumberOfEvaluations
@Test void testGetMinNumberOfEvaluations() -
testGetSetListener
- Throws:
LockedException
-
testEstimateWithDirectEvaluations
@Test void testEstimateWithDirectEvaluations() throws LockedException, NotReadyException, PolynomialEstimationException -
testEstimateWithDirectAndDerivativeEvaluations
@Test void testEstimateWithDirectAndDerivativeEvaluations() throws LockedException, NotReadyException, PolynomialEstimationException -
testEstimateWithIntegralEvaluations
@Test void testEstimateWithIntegralEvaluations() throws LockedException, NotReadyException, PolynomialEstimationException -
testEstimateWithIntegralIntervalEvaluations
@Test void testEstimateWithIntegralIntervalEvaluations() throws LockedException, NotReadyException, PolynomialEstimationException -
testEstimateWithDirectEvaluationsSecondDegree
@Test void testEstimateWithDirectEvaluationsSecondDegree() throws LockedException, NotReadyException, PolynomialEstimationException -
testEstimateWithSecondOrderIntegralEvaluationsSecondDegree
@Test void testEstimateWithSecondOrderIntegralEvaluationsSecondDegree() throws LockedException, NotReadyException, PolynomialEstimationException -
testEstimateWithSecondOrderIntegralIntervalEvaluationsSecondDegree
@Test void testEstimateWithSecondOrderIntegralIntervalEvaluationsSecondDegree() throws LockedException, NotReadyException, PolynomialEstimationException -
onEstimateStart
- Specified by:
onEstimateStart
in interfacePolynomialEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEnd
in interfacePolynomialEstimatorListener
-
checkIsLocked
-
reset
private void reset()
-