Class SimulatedAnnealingModule

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

    public class SimulatedAnnealingModule
    extends org.opt4j.core.optimizer.OptimizerModule
    This module binds the SimulatedAnnealing optimizer.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int iterations  
      • Fields inherited from class org.opt4j.core.start.Opt4JModule

        SINGLETON
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void config()  
      int getIterations()
      Returns the number of iterations.
      void setIterations​(int iterations)
      Sets the number of iterations.
      • Methods inherited from class org.opt4j.core.optimizer.OptimizerModule

        bindIterativeOptimizer, bindOptimizer
      • Methods inherited from class org.opt4j.core.start.Opt4JModule

        addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi
      • Methods inherited from class com.google.inject.AbstractModule

        addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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()
        Specified by:
        config in class org.opt4j.core.start.Opt4JModule