Class GivenInstanceModule

java.lang.Object
com.google.inject.AbstractModule
org.opt4j.start.Opt4JModule
org.opt4j.core.optimizer.OptimizerModule
de.uka.ipd.sdq.dsexplore.opt4j.representation.GivenInstanceModule
All Implemented Interfaces:
com.google.inject.Module

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

    Fields
    Modifier and Type
    Field
    Description
    protected int
     

    Fields inherited from class org.opt4j.start.Opt4JModule

    SINGLETON
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    int
    Returns the number of generations.
    void
    setGenerations(int generations)
    Sets the number of generations.

    Methods inherited from class org.opt4j.core.optimizer.OptimizerModule

    bindOptimizer

    Methods inherited from class org.opt4j.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 Details

    • generations

      protected int generations
  • Constructor Details

    • GivenInstanceModule

      public GivenInstanceModule()
  • Method Details

    • config

      protected void config()
      Specified by:
      config in class org.opt4j.start.Opt4JModule
    • getGenerations

      public int getGenerations()
      Returns the number of generations.
      Returns:
      the number of generations
    • setGenerations

      public void setGenerations(int generations)
      Sets the number of generations.
      Parameters:
      generations - the number of generations