Package org.ddogleg.fitting.modelset
Class ModelManagerDefault<T>
java.lang.Object
org.ddogleg.fitting.modelset.ModelManagerDefault<T>
- All Implemented Interfaces:
ModelManager<T>
Default model manager. Assumes the model class has a no argument constructor and a set function.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTurns 'dst' into an exact copy of 'src'.Creates a new instance of the model
-
Constructor Details
-
ModelManagerDefault
-
-
Method Details
-
createModelInstance
Description copied from interface:ModelManagerCreates a new instance of the model- Specified by:
createModelInstancein interfaceModelManager<T>- Returns:
- New model instance
-
copyModel
Description copied from interface:ModelManagerTurns 'dst' into an exact copy of 'src'. If the model has a variable structure then it is assumed that the two models have the same structure.- Specified by:
copyModelin interfaceModelManager<T>- Parameters:
src- Original model. Not modified.dst- Where the copy is written to. Modified.
-