Interface Extensible

All Known Subinterfaces:
Algorithm, EpsilonBoxEvolutionaryAlgorithm, EvolutionaryAlgorithm
All Known Implementing Classes:
AbstractAlgorithm, AbstractEvolutionaryAlgorithm, AbstractPSOAlgorithm, AbstractSimulatedAnnealingAlgorithm, AdaptiveTimeContinuation, AGEMOEAII, AlgorithmWrapper, AMOSA, Checkpoints, CMAES, DBEA, DifferentialEvolution, EpsilonMOEA, EpsilonNSGAII, EpsilonProgressContinuation, EvolutionStrategy, GDE3, GeneticAlgorithm, IBEA, InstrumentedAlgorithm, MOEAD, MSOPS, NSGAII, NSGAIII, OMOPSO, PAES, PeriodicAction, PESA2, RandomSearch, RepeatedSingleObjective, RVEA, SimulatedAnnealing, SingleObjectiveEvolutionaryAlgorithm, SMPSO, SMSEMOA, SPEA2, UNSGAIII, VEGA

public interface Extensible
Interface for algorithms that support extensibility.
  • Method Details

    • getExtensions

      Extensions getExtensions()
      Returns the extensions associated with the algorithm.
      Returns:
      the extensions
    • addExtension

      default void addExtension(Extension extension)
      Adds the given extension and invokes its Extension.onRegister(org.moeaframework.core.Algorithm) method.
      Parameters:
      extension - the extension to add
    • removeExtension

      default void removeExtension(Extension extension)
      Removes the given extension.
      Parameters:
      extension - the extension to remove