Class RandomSearchModule

    • Field Detail

      • iterations

        protected int iterations
      • batchsize

        protected int batchsize
    • Constructor Detail

      • RandomSearchModule

        public RandomSearchModule()
    • Method Detail

      • getIterations

        public int getIterations()
        Returns the number of iterations.
        Returns:
        the number of iterations
        See Also:
        setIterations(int)
      • setIterations

        public void setIterations​(int iterations)
        Sets the number of iterations.
        Parameters:
        iterations - the number of iterations
        See Also:
        getIterations()
      • getBatchsize

        public int getBatchsize()
        Returns the number of batched individuals for the evaluation.
        Returns:
        the batchsize
        See Also:
        setBatchsize(int)
      • setBatchsize

        public void setBatchsize​(int batchsize)
        Sets the number of batched individuals for the evaluation.
        Parameters:
        batchsize - the batchsize to set
        See Also:
        getBatchsize()
      • config

        protected void config()
        Description copied from class: Opt4JModule
        Configure the module. Bind constants, listeners, and bind arbitrary classes.
        Specified by:
        config in class Opt4JModule
        See Also:
        Binder