Class DifferentialEvolutionModule

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

    public class DifferentialEvolutionModule
    extends org.opt4j.core.optimizer.OptimizerModule
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int alpha  
      protected int generations  
      protected double scalingFactor  
      • 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 getAlpha()
      Returns the alpha.
      int getGenerations()
      Returns the generations.
      double getScalingFactor()
      Returns the scaling factor.
      void setAlpha​(int alpha)
      Sets the alpha.
      void setGenerations​(int generations)
      Sets the generations.
      void setScalingFactor​(double scalingFactor)
      Sets the scaling factor.
      • 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

      • generations

        protected int generations
      • alpha

        protected int alpha
      • scalingFactor

        protected double scalingFactor
    • Constructor Detail

      • DifferentialEvolutionModule

        public DifferentialEvolutionModule()
    • Method Detail

      • getAlpha

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

        public void setAlpha​(int alpha)
        Sets the alpha.
        Parameters:
        alpha - the alpha to set
        See Also:
        getAlpha()
      • getGenerations

        public int getGenerations()
        Returns the generations.
        Returns:
        the generations
        See Also:
        setGenerations(int)
      • setGenerations

        public void setGenerations​(int generations)
        Sets the generations.
        Parameters:
        generations - the generations to set
        See Also:
        getGenerations()
      • getScalingFactor

        public double getScalingFactor()
        Returns the scaling factor.
        Returns:
        the scalingFactor
        See Also:
        setScalingFactor(double)
      • setScalingFactor

        public void setScalingFactor​(double scalingFactor)
        Sets the scaling factor.
        Parameters:
        scalingFactor - the scalingFactor to set
        See Also:
        getScalingFactor()
      • config

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