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.
  • Constructor Details

    • ConfigGeneratorVector

      public ConfigGeneratorVector(long seed, Class<Config> type)
  • Method Details

    • toStringSettings

      public String toStringSettings()
      Provides more configuration info over default.
      Overrides:
      toStringSettings in class ConfigGeneratorPatternSearchBase<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 class ConfigGenerator<Config extends Configuration>
    • next

      public Config 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 class ConfigGenerator<Config extends Configuration>
      Returns:
      New instance of the next Config variant.
    • getParameterCounts

      public List<Tuple2<String,Integer>> 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.