Class GridSearch

    • Field Detail

      • m_Iterations

        protected int m_Iterations
        number of iterations.
    • Constructor Detail

      • GridSearch

        public GridSearch()
    • Method Detail

      • setIterations

        public void setIterations​(int value)
        Sets the iterations to use.
        Parameters:
        value - the iterations.
      • getIterations

        public int getIterations()
        Gets the iterations use.
        Returns:
        the iterations
      • iterationsTipText

        public String iterationsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setMin

        protected void setMin​(OptData datadef)
        Initialise vars to their minimum.
        Parameters:
        datadef - vars
      • setMax

        protected void setMax​(OptData datadef)
        Initialise vars to their maximum.
        Parameters:
        datadef - vars
      • doGrid

        public OptData doGrid​(OptData datadef,
                              FitnessFunction fitness)
        Calc for this grid.
        Parameters:
        datadef - vars
        fitness - fitness fn
        Returns:
        best
      • setStepSizes

        protected void setStepSizes​(OptData datadef,
                                    Hashtable<String,​Double> stepsize)
        set Set sizes for params.
        Parameters:
        datadef - params
        stepsize - stepsize store