Class CoolingSchedulesModule

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void config()  
      double getAlpha()
      Returns the alpha value.
      double getFinalTemperature()
      Returns the final temperature.
      double getInitialTemperature()
      Returns the initial temperature.
      CoolingSchedulesModule.Type getType()
      Returns the type of cooling schedule.
      void setAlpha​(double alpha)
      Sets the alpha value.
      void setFinalTemperature​(double finalTemperature)
      Sets the final temperature.
      void setInitialTemperature​(double initialTemperature)
      Sets the initial temperature.
      void setType​(CoolingSchedulesModule.Type type)
      Sets the type of cooling schedule.
      • 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

      • initialTemperature

        protected double initialTemperature
      • finalTemperature

        protected double finalTemperature
      • alpha

        protected double alpha
    • Constructor Detail

      • CoolingSchedulesModule

        public CoolingSchedulesModule()
    • Method Detail

      • getFinalTemperature

        public double getFinalTemperature()
        Returns the final temperature.
        Returns:
        the final temperature
        See Also:
        setFinalTemperature(double)
      • setFinalTemperature

        public void setFinalTemperature​(double finalTemperature)
        Sets the final temperature.
        Parameters:
        finalTemperature - the final temperature
        See Also:
        getFinalTemperature()
      • getInitialTemperature

        public double getInitialTemperature()
        Returns the initial temperature.
        Returns:
        the initial temperature
        See Also:
        setInitialTemperature(double)
      • setInitialTemperature

        public void setInitialTemperature​(double initialTemperature)
        Sets the initial temperature.
        Parameters:
        initialTemperature - the initial temperature
        See Also:
        getInitialTemperature()
      • getAlpha

        public double getAlpha()
        Returns the alpha value.
        Returns:
        the alpha value
        See Also:
        setAlpha(double)
      • setAlpha

        public void setAlpha​(double alpha)
        Sets the alpha value.
        Parameters:
        alpha - the alpha value
        See Also:
        getAlpha()
      • config

        public void config()
        Specified by:
        config in class org.opt4j.core.start.Opt4JModule