Class SimulatedAnnealingModule

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

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

    • iterations

      protected int iterations
  • Constructor Details

    • SimulatedAnnealingModule

      public SimulatedAnnealingModule()
  • Method Details

    • getIterations

      public int getIterations()
      Returns the number of iterations.
      Returns:
      the number of iterations
      See Also:
    • setIterations

      public void setIterations(int iterations)
      Sets the number of iterations.
      Parameters:
      iterations - the number of iterations
      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