Class NoDuplicatesEvolutionaryAlgorithm
- java.lang.Object
-
- org.opt4j.core.optimizer.AbstractOptimizer
-
- org.opt4j.optimizer.ea.EvolutionaryAlgorithm
-
- de.uka.ipd.sdq.dsexplore.opt4j.optimizer.NoDuplicatesEvolutionaryAlgorithm
-
- All Implemented Interfaces:
org.opt4j.core.optimizer.Optimizer
public class NoDuplicatesEvolutionaryAlgorithm extends org.opt4j.optimizer.ea.EvolutionaryAlgorithm
Copy ofEvolutionaryAlgorithm
that detects duplicates in the population and creates new random candidates to replace them.
-
-
Constructor Summary
Constructors Constructor Description NoDuplicatesEvolutionaryAlgorithm(org.opt4j.core.optimizer.Population population, org.opt4j.core.optimizer.Archive archive, org.opt4j.core.IndividualFactory individualFactory, org.opt4j.core.optimizer.IndividualCompleter completer, org.opt4j.core.optimizer.Control control, org.opt4j.optimizer.ea.Selector selector, org.opt4j.optimizer.ea.Mating mating, org.opt4j.core.optimizer.Iteration generations, int alpha, int mu, int lambda)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
optimize()
-
-
-
Constructor Detail
-
NoDuplicatesEvolutionaryAlgorithm
@Inject public NoDuplicatesEvolutionaryAlgorithm(org.opt4j.core.optimizer.Population population, org.opt4j.core.optimizer.Archive archive, org.opt4j.core.IndividualFactory individualFactory, org.opt4j.core.optimizer.IndividualCompleter completer, org.opt4j.core.optimizer.Control control, org.opt4j.optimizer.ea.Selector selector, org.opt4j.optimizer.ea.Mating mating, org.opt4j.core.optimizer.Iteration generations, int alpha, int mu, int lambda)
-
-
Method Detail
-
optimize
public void optimize() throws org.opt4j.core.optimizer.TerminationException, org.opt4j.core.optimizer.StopException
- Specified by:
optimize
in interfaceorg.opt4j.core.optimizer.Optimizer
- Overrides:
optimize
in classorg.opt4j.optimizer.ea.EvolutionaryAlgorithm
- Throws:
org.opt4j.core.optimizer.TerminationException
org.opt4j.core.optimizer.StopException
-
-