Interface Extensible
- All Known Subinterfaces:
Algorithm,EpsilonBoxEvolutionaryAlgorithm,EvolutionaryAlgorithm
- All Known Implementing Classes:
AbstractAlgorithm,AbstractEvolutionaryAlgorithm,AbstractPSOAlgorithm,AbstractSimulatedAnnealingAlgorithm,AGEMOEAII,AlgorithmWrapper,AMOSA,CMAES,DBEA,DifferentialEvolution,EpsilonMOEA,EpsilonNSGAII,EvolutionStrategy,GDE3,GeneticAlgorithm,IBEA,InstrumentedAlgorithm,MOEAD,MSOPS,NSGAII,NSGAIII,OMOPSO,PAES,PESA2,RandomSearch,RepeatedSingleObjective,RVEA,SimulatedAnnealing,SingleObjectiveEvolutionaryAlgorithm,SMPSO,SMSEMOA,SPEA2,UNSGAIII,VEGA
public interface Extensible
Interface for algorithms that support extensibility.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddExtension(Extension extension) Adds the given extension and invokes itsExtension.onRegister(org.moeaframework.algorithm.Algorithm)method.Returns the extensions associated with the algorithm.default voidremoveExtension(Extension extension) Removes the given extension.
-
Method Details
-
getExtensions
Extensions getExtensions()Returns the extensions associated with the algorithm.- Returns:
- the extensions
-
addExtension
Adds the given extension and invokes itsExtension.onRegister(org.moeaframework.algorithm.Algorithm)method.- Parameters:
extension- the extension to add
-
removeExtension
Removes the given extension.- Parameters:
extension- the extension to remove
-