Package boofcv.struct
Class ConfigGeneratorGrid<Config extends Configuration>
java.lang.Object
boofcv.struct.ConfigGenerator<Config>
boofcv.struct.ConfigGeneratorPatternSearchBase<Config>
boofcv.struct.ConfigGeneratorGrid<Config>
public class ConfigGeneratorGrid<Config extends Configuration>
extends ConfigGeneratorPatternSearchBase<Config>
Implementation of
ConfigGenerator that samples the configuration space using a grid pattern. This will
be exhaustive and can take a considerable amount of time.-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.struct.ConfigGeneratorPatternSearchBase
ConfigGeneratorPatternSearchBase.Discretization -
Field Summary
Fields inherited from class boofcv.struct.ConfigGeneratorPatternSearchBase
configurationWorkFields inherited from class boofcv.struct.ConfigGenerator
configCurrent, configurationBase, parameters, rand -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAfter all the parameters have been set, call this function to finalize internal variables and begin the generator.next()Systematically goes through all configs in a grid type search.Provides more configuration info over default.Methods inherited from class boofcv.struct.ConfigGeneratorPatternSearchBase
getNumberOfStates, setDiscretizationRuleMethods inherited from class boofcv.struct.ConfigGenerator
assignValue, checkPath, getConfiguration, getValue, hasNext, rangeOfFloats, rangeOfIntegers, setOfEnums, setOfFloats, setOfIntegers, toStringState
-
Constructor Details
-
ConfigGeneratorGrid
-
-
Method Details
-
toStringSettings
Provides more configuration info over default.- Overrides:
toStringSettingsin classConfigGeneratorPatternSearchBase<Config extends Configuration>
-
initialize
public void initialize()Description copied from class:ConfigGeneratorAfter all the parameters have been set, call this function to finalize internal variables and begin the generator. Up until this function is called, any changes in the baseline will be reflected in later calls- Overrides:
initializein classConfigGenerator<Config extends Configuration>
-
next
Systematically goes through all configs in a grid type search. Each time it's called just one field in configBase is modified and a copy is returned.- Specified by:
nextin classConfigGenerator<Config extends Configuration>- Returns:
- New instance of the next Config variant.
-