Class Ransac.TrialHelper
java.lang.Object
org.ddogleg.fitting.modelset.ransac.Ransac.TrialHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reset()
protected boolean
selectMatchSet
(List<Point> dataSet, int bestModelSize, double threshold, Model param) Looks for points in the data set which closely match the current best fit model in the optimizer.protected void
Turns the current candidates into the best ones.
-
Field Details
-
matchToInput
protected int[] matchToInput -
bestMatchToInput
protected int[] bestMatchToInput
-
-
Constructor Details
-
TrialHelper
protected TrialHelper()
-
-
Method Details
-
selectMatchSet
protected boolean selectMatchSet(List<Point> dataSet, int bestModelSize, double threshold, Model param) Looks for points in the data set which closely match the current best fit model in the optimizer.- Parameters:
dataSet
- The points being considered
-
swapCandidateWithBest
protected void swapCandidateWithBest()Turns the current candidates into the best ones. -
reset
public void reset()
-