Class PythonAmbiguityAcceptance
- java.lang.Object
-
- org.orekit.estimation.measurements.gnss.PythonAmbiguityAcceptance
-
- All Implemented Interfaces:
AmbiguityAcceptance
public class PythonAmbiguityAcceptance extends Object implements AmbiguityAcceptance
-
-
Constructor Summary
Constructors Constructor Description PythonAmbiguityAcceptance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerLeastSquareSolution
accept(IntegerLeastSquareSolution[] candidates)
Check if one of the candidate solutions can be accepted.void
finalize()
Part of JCC Python interface to objectint
numberOfCandidates()
Get the number of candidate solutions to search for.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
numberOfCandidates
public int numberOfCandidates()
Get the number of candidate solutions to search for.- Specified by:
numberOfCandidates
in interfaceAmbiguityAcceptance
- Returns:
- number of candidate solutions to search for
-
accept
public IntegerLeastSquareSolution accept(IntegerLeastSquareSolution[] candidates)
Check if one of the candidate solutions can be accepted.- Specified by:
accept
in interfaceAmbiguityAcceptance
- Parameters:
candidates
- candidate solutions of the Integer Least Squares problem, in increasing squared distance order (the array contains at leastnumberOfCandidates()
candidates)- Returns:
- the candidate solution to accept (normally the one at index 0), or null if we should still use the float solution
-
-