Package com.irurueta.numerical.robust
Class LMedSRobustEstimatorTest
java.lang.Object
com.irurueta.numerical.robust.LMedSRobustEstimatorTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final int
private static final int
private static final double
private static final double
private static final int
private static final int
private static final double
private static final int
private static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static double[]
private static void
computeSamples
(double[] params, int numSamples, int percentageOutliers, double[] ys, double[] xs) (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_POINTS
private static final int MIN_POINTS- See Also:
-
MAX_POINTS
private static final int MAX_POINTS- See Also:
-
MIN_ERROR
private static final double MIN_ERROR- See Also:
-
MAX_ERROR
private static final double MAX_ERROR- See Also:
-
MIN_MAX_ITERATIONS
private static final int MIN_MAX_ITERATIONS- See Also:
-
MAX_MAX_ITERATIONS
private static final int MAX_MAX_ITERATIONS- See Also:
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
PERCENTAGE_OUTLIER
private static final int PERCENTAGE_OUTLIER- See Also:
-
NUM_PARAMS
private static final int NUM_PARAMS- See Also:
-
TIMES
private static final int TIMES- See Also:
-
-
Constructor Details
-
LMedSRobustEstimatorTest
LMedSRobustEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetListenerAvailabilityAndIsReady
@Test void testGetSetListenerAvailabilityAndIsReady() throws com.irurueta.numerical.LockedException- Throws:
com.irurueta.numerical.LockedException
-
testGetSetProgressDelta
@Test void testGetSetProgressDelta() throws IllegalArgumentException, com.irurueta.numerical.LockedException- Throws:
IllegalArgumentException
com.irurueta.numerical.LockedException
-
testGetSetConfidence
@Test void testGetSetConfidence() throws IllegalArgumentException, com.irurueta.numerical.LockedException- Throws:
IllegalArgumentException
com.irurueta.numerical.LockedException
-
testGetSetMaxIterations
@Test void testGetSetMaxIterations() throws IllegalArgumentException, com.irurueta.numerical.LockedException- Throws:
IllegalArgumentException
com.irurueta.numerical.LockedException
-
testGetSetStopThreshold
@Test void testGetSetStopThreshold() throws IllegalArgumentException, com.irurueta.numerical.LockedException- Throws:
IllegalArgumentException
com.irurueta.numerical.LockedException
-
testGetSetInlierFactor
@Test void testGetSetInlierFactor() throws IllegalArgumentException, com.irurueta.numerical.LockedException- Throws:
IllegalArgumentException
com.irurueta.numerical.LockedException
-
testEstimate
@Test void testEstimate() throws com.irurueta.numerical.LockedException, com.irurueta.numerical.NotReadyException, com.irurueta.numerical.robust.RobustEstimatorException- Throws:
com.irurueta.numerical.LockedException
com.irurueta.numerical.NotReadyException
com.irurueta.numerical.robust.RobustEstimatorException
-
computeParams
private static double[] computeParams() -
computeSamples
private static void computeSamples(double[] params, int numSamples, int percentageOutliers, double[] ys, double[] xs)
-