Class RuleBasedSearchModule

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

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

      Fields 
      Modifier and Type Field Description
      protected boolean fullSearch  
      protected int generations  
      • Fields inherited from class org.opt4j.start.Opt4JModule

        SINGLETON
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void config()  
      int getGenerations()
      Returns the number of generations.
      boolean isFullSearch()  
      void setFullSearch​(boolean fullRuleBasedSearch)  
      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
    • Field Detail

      • generations

        protected int generations
      • fullSearch

        protected boolean fullSearch
    • Constructor Detail

      • RuleBasedSearchModule

        public RuleBasedSearchModule()
    • Method Detail

      • 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
      • setFullSearch

        public void setFullSearch​(boolean fullRuleBasedSearch)
      • isFullSearch

        public boolean isFullSearch()