Class WeightedPolynomialEstimatorTest
java.lang.Object
com.irurueta.numerical.polynomials.estimators.WeightedPolynomialEstimatorTest
- All Implemented Interfaces:
PolynomialEstimatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate intprivate intprivate static final intprivate static final doubleprivate static final intprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckIsLocked(PolynomialEstimator estimator) voidonEstimateEnd(PolynomialEstimator estimator) voidonEstimateStart(PolynomialEstimator estimator) private voidreset()(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:
onEstimateStartin interfacePolynomialEstimatorListener
-
onEstimateEnd
- Specified by:
onEstimateEndin interfacePolynomialEstimatorListener
-
checkIsLocked
-
reset
private void reset()
-