org.ddogleg.fitting.modelset
Class GenericModelMatcherMultiTests
- java.lang.Object
-
- org.ddogleg.fitting.modelset.GenericModelMatcherTests
-
- org.ddogleg.fitting.modelset.GenericModelMatcherMultiTests
-
- Direct Known Subclasses:
- TestRansacMulti
public abstract class GenericModelMatcherMultiTests extends GenericModelMatcherTests
Generic tests for implementations ofModelMatcherMulti. Performs all the tests for the single model equivalent plus additional tests to see if it is selecting the correct model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classGenericModelMatcherMultiTests.ModelInfo
-
Constructor Summary
Constructors Constructor and Description GenericModelMatcherMultiTests()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description voidcheckSelectModel()Create two models.abstract ModelMatcherMulti<java.lang.Double>createModelMatcher(java.util.List<GenericModelMatcherMultiTests.ModelInfo> models)ModelMatcher<double[],java.lang.Double>createModelMatcher(ModelManager<double[]> manager, DistanceFromModel<double[],java.lang.Double> distance, ModelGenerator<double[],java.lang.Double> generator, ModelFitter<double[],java.lang.Double> fitter, int minPoints, double fitThreshold)Wrapper to provide support for single ModelMatcher tests-
Methods inherited from class org.ddogleg.fitting.modelset.GenericModelMatcherTests
checkMatchSetToInputIndex, performSimpleModelFit, runMultipleTimes
-
-
-
-
Method Detail
-
createModelMatcher
public ModelMatcher<double[],java.lang.Double> createModelMatcher(ModelManager<double[]> manager, DistanceFromModel<double[],java.lang.Double> distance, ModelGenerator<double[],java.lang.Double> generator, ModelFitter<double[],java.lang.Double> fitter, int minPoints, double fitThreshold)
Wrapper to provide support for single ModelMatcher tests- Specified by:
createModelMatcherin classGenericModelMatcherTests
-
checkSelectModel
public void checkSelectModel()
Create two models. One will generate larger errors than the other. See if it selects the right one.
-
createModelMatcher
public abstract ModelMatcherMulti<java.lang.Double> createModelMatcher(java.util.List<GenericModelMatcherMultiTests.ModelInfo> models)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG