Class Spea2Module

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

    @Citation(title="SPEA2: Improving the Strength Pareto Evolutionary Algorithm For Multiobjective Optimization",
              authors="Eckart Zitzler, Marco Laumanns, and Lothar Thiele",
              journal="Evolutionary Methods for Design, Optimisation, and Control",
              pageFirst=19,
              pageLast=26,
              year=2002,
              month=UNKNOWN)
    public class Spea2Module
    extends SelectorModule
    The Spea2Module configures the Spea2 selector.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int tournament  
      • Fields inherited from class org.opt4j.core.start.Opt4JModule

        SINGLETON
    • Constructor Summary

      Constructors 
      Constructor Description
      Spea2Module()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void config()  
      int getTournament()
      Returns the number of tournaments.
      void setTournament​(int tournament)
      Sets the number of tournaments.
      • 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

      • tournament

        protected int tournament
    • Constructor Detail

      • Spea2Module

        public Spea2Module()
    • Method Detail

      • getTournament

        public int getTournament()
        Returns the number of tournaments.
        Returns:
        the number of tournaments
        See Also:
        setTournament(int)
      • setTournament

        public void setTournament​(int tournament)
        Sets the number of tournaments.
        Parameters:
        tournament - the number of tournaments
        See Also:
        getTournament()
      • config

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