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
Nested Classes -
Field Summary
FieldsFields inherited from class boofcv.struct.ConfigGenerator
configCurrent, configurationBase, parameters, rand -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConfigGeneratorPatternSearchBase(long seed, Class<Config> type) -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetNumberOfStates(boofcv.struct.ConfigGenerator.Parameter p) Returns the number of possible states a parameter hasvoidSpecifies 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:
getNumberOfStatesin classConfigGenerator<Config extends Configuration>
-
toStringSettings
Provides more configuration info over default.- Overrides:
toStringSettingsin classConfigGenerator<Config extends Configuration>
-
setDiscretizationRule
public void setDiscretizationRule(String path, ConfigGeneratorPatternSearchBase.Discretization rule) Specifies how continuous ranges should be discretized
-