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

    • ConfigGeneratorGrid

      public ConfigGeneratorGrid(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.