Class NonLinearLeastSquaresLateration2DSolverTest
java.lang.Object
com.irurueta.navigation.lateration.NonLinearLeastSquaresLateration2DSolverTest
- All Implemented Interfaces:
LaterationSolverListener<com.irurueta.geometry.Point2D>
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
class NonLinearLeastSquaresLateration2DSolverTest
extends Object
implements LaterationSolverListener<com.irurueta.geometry.Point2D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final double
private int
private int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
void
onSolveEnd
(LaterationSolver<com.irurueta.geometry.Point2D> solver) void
onSolveStart
(LaterationSolver<com.irurueta.geometry.Point2D> solver) 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
-
Field Details
-
MIN_CIRCLES
private static final int MIN_CIRCLES- See Also:
-
MAX_CIRCLES
private static final int MAX_CIRCLES- 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:
-
MIN_POSITION_ERROR
private static final double MIN_POSITION_ERROR- See Also:
-
MAX_POSITION_ERROR
private static final double MAX_POSITION_ERROR- See Also:
-
MIN_DISTANCE_ERROR
private static final double MIN_DISTANCE_ERROR- See Also:
-
MAX_DISTANCE_ERROR
private static final double MAX_DISTANCE_ERROR- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
TIMES
private static final int TIMES- See Also:
-
solveStart
private int solveStart -
solveEnd
private int solveEnd
-
-
Constructor Details
-
NonLinearLeastSquaresLateration2DSolverTest
NonLinearLeastSquaresLateration2DSolverTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetCircles
- Throws:
LockedException
-
testGetSetCirclesAndStandardDeviations
- Throws:
LockedException
-
testGetSetListener
- Throws:
LockedException
-
testGetSetPositionsAndDistances
- Throws:
LockedException
-
testGetSetPositionsDistancesAndStandardDeviations
- Throws:
LockedException
-
testGetSetInitialPosition
- Throws:
LockedException
-
testSolveNoInitialPositionAndNoError
@Test void testSolveNoInitialPositionAndNoError() throws LaterationException, NotReadyException, LockedException -
testSolveWithInitialPositionAndNoError
@Test void testSolveWithInitialPositionAndNoError() throws LaterationException, NotReadyException, LockedException -
testSolveNoInitialPositionAndError
@Test void testSolveNoInitialPositionAndError() throws LaterationException, NotReadyException, LockedException -
testSolveWithInitialPositionAndError
@Test void testSolveWithInitialPositionAndError() throws LaterationException, NotReadyException, LockedException -
testSolveNoInitialPositionAndNoError3Circles
@Test void testSolveNoInitialPositionAndNoError3Circles() throws LaterationException, NotReadyException, LockedException -
reset
private void reset()
-