Package boofcv.struct
Class ConfigGeneratorPatternSearchBase<Config extends Configuration>
java.lang.Object
boofcv.struct.ConfigGenerator<Config>
boofcv.struct.ConfigGeneratorPatternSearchBase<Config>
- Direct Known Subclasses:
ConfigGeneratorGrid
,ConfigGeneratorVector
public abstract class ConfigGeneratorPatternSearchBase<Config extends Configuration>
extends ConfigGenerator<Config>
Base class for searches which follow a repetable pattern
-
Nested Class Summary
-
Field Summary
Fields inherited from class boofcv.struct.ConfigGenerator
configCurrent, configurationBase, parameters, rand
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConfigGeneratorPatternSearchBase
(long seed, Class<Config> type) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getNumberOfStates
(boofcv.struct.ConfigGenerator.Parameter p) Returns the number of possible states a parameter hasvoid
Specifies how continuous ranges should be discretizedProvides more configuration info over default.Methods inherited from class boofcv.struct.ConfigGenerator
assignValue, checkPath, getConfiguration, getValue, hasNext, initialize, next, rangeOfFloats, rangeOfIntegers, setOfEnums, setOfFloats, setOfIntegers, toStringState
-
Field Details
-
configurationWork
Copied from baseline at initialization. Modified while searching the grid
-
-
Constructor Details
-
ConfigGeneratorPatternSearchBase
-
-
Method Details
-
getNumberOfStates
protected int getNumberOfStates(boofcv.struct.ConfigGenerator.Parameter p) Returns the number of possible states a parameter has- Overrides:
getNumberOfStates
in classConfigGenerator<Config extends Configuration>
-
toStringSettings
Provides more configuration info over default.- Overrides:
toStringSettings
in classConfigGenerator<Config extends Configuration>
-
setDiscretizationRule
public void setDiscretizationRule(String path, ConfigGeneratorPatternSearchBase.Discretization rule) Specifies how continuous ranges should be discretized
-