Class SimulatedAnnealingModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class SimulatedAnnealingModule
    extends OptimizerModule
    This module binds the SimulatedAnnealing optimizer.
    • Field Detail

      • iterations

        protected int iterations
    • Constructor Detail

      • SimulatedAnnealingModule

        public SimulatedAnnealingModule()
    • 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()
      • config

        public 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