Class DifferentialEvolutionModule

java.lang.Object
com.google.inject.AbstractModule
org.opt4j.start.Opt4JModule
org.opt4j.core.optimizer.OptimizerModule
org.opt4j.optimizer.de.DifferentialEvolutionModule
All Implemented Interfaces:
com.google.inject.Module

public class DifferentialEvolutionModule extends OptimizerModule
  • Field Details

    • generations

      protected int generations
    • alpha

      protected int alpha
    • scalingFactor

      protected double scalingFactor
  • Constructor Details

    • DifferentialEvolutionModule

      public DifferentialEvolutionModule()
  • Method Details

    • getAlpha

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

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

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

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

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

      public void setScalingFactor(double scalingFactor)
      Sets the scaling factor.
      Parameters:
      scalingFactor - the scalingFactor to set
      See Also:
    • 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