Package boofcv.struct
Class ConfigGeneratorVector<Config extends Configuration>
java.lang.Object
boofcv.struct.ConfigGenerator<Config>
boofcv.struct.ConfigGeneratorPatternSearchBase<Config>
boofcv.struct.ConfigGeneratorVector<Config>
public class ConfigGeneratorVector<Config extends Configuration>
extends ConfigGeneratorPatternSearchBase<Config>
Implementation of
ConfigGenerator
that samples the configuration space using along each degree of
freedom (a parameter) independently. useful when you think you've found an optimal answer but want to see which
parameters influence its performance the most. When going through all the permutations, only the parameter being
searched will deviate from its default value.-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.struct.ConfigGeneratorPatternSearchBase
ConfigGeneratorPatternSearchBase.Discretization
-
Field Summary
Fields inherited from class boofcv.struct.ConfigGeneratorPatternSearchBase
configurationWork
Fields inherited from class boofcv.struct.ConfigGenerator
configCurrent, configurationBase, parameters, rand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of each parameter being examined and the number of counts.void
After 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, setDiscretizationRule
Methods inherited from class boofcv.struct.ConfigGenerator
assignValue, checkPath, getConfiguration, getValue, hasNext, rangeOfFloats, rangeOfIntegers, setOfEnums, setOfFloats, setOfIntegers, toStringState
-
Constructor Details
-
ConfigGeneratorVector
-
-
Method Details
-
toStringSettings
Provides more configuration info over default.- Overrides:
toStringSettings
in classConfigGeneratorPatternSearchBase<Config extends Configuration>
-
initialize
public void initialize()Description copied from class:ConfigGenerator
After 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:
initialize
in 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:
next
in classConfigGenerator<Config extends Configuration>
- Returns:
- New instance of the next Config variant.
-
getParameterCounts
Returns a list of each parameter being examined and the number of counts. The order it's returned will match the order it's processed in.
-