MoEA Class Reference
Abstract class representing Multi-objective Evolutionary Algorithms.
#include <MoEA.h>
Inheritance diagram for MoEA:

Public Member Functions | |
| MoEA (MultiobjectiveProblem *problemToSolve, MutationOperator mutationOperator, CrossoverOperator crossoverOperator) | |
| Constructor. | |
| bool | crossover (Individual *parent1, Individual *parent2, Individual **child1, Individual **child2) |
| Applies the crossover operator to two parents, yielding two children. | |
| int | mutation (Individual *individual) |
| Applies the mutation operator to an individual. | |
| virtual Individual * | getBestIndividual (Population *) |
| Returns the best individual in the population. | |
| virtual Individual * | getWorstIndividual (Population *) |
| Returns the worst individual in the population. | |
| virtual void | merge (Population *, Individual *) |
| Merges an individual into a population. | |
| virtual void | merge (Population *, Population *) |
| Merges two population. | |
| virtual void | start ()=0 |
| virtual void | readConfigurationData ()=0 |
| virtual void | printStatistics ()=0 |
| void | printVariablesToFile (char *variableFile, Population *population) |
| Prints the values of the decision variables of the individuals of a population. | |
| void | printFunctionValuesToFile (char *functionFile, Population *population) |
| Prints the function values of the individuals of a population. | |
Public Attributes | |
| int | numberOfIterations_ |
| int | maximumNumberOfIterations_ |
| int | maximumNumberOfFitnessEvaluations_ |
| int | numberOfFitnessEvaluations_ |
| int | numberOfMutations_ |
| int | numberOfCrossovers_ |
| double | mutationProbability_ |
| double | crossoverProbability_ |
| double | distributionIndexForMutation_ |
| double | distributionIndexForCrossover_ |
| double | perturbationForMutation_ |
| double | alpha_ |
| double | bMutationParameter_ |
| double | lambda_ |
| MutationOperator | mutationOperator_ |
| CrossoverOperator | crossoverOperator_ |
| MultiobjectiveProblem * | problem_ |
| Problem to be solved. | |
| Random | random_ |
| int | seed_ |
| time_t | startTime_ |
| time_t | endTime_ |
| int | printFrequency_ |
Detailed Description
Definition at line 26 of file MoEA.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
Definition at line 15 of file MoEA.cpp. References alpha_, bMutationParameter_, crossoverOperator_, crossoverProbability_, distributionIndexForCrossover_, distributionIndexForMutation_, lambda_, mutationOperator_, mutationProbability_, numberOfCrossovers_, numberOfFitnessEvaluations_, numberOfIterations_, numberOfMutations_, perturbationForMutation_, printFrequency_, problem_, and seed_. |
Member Function Documentation
|
||||||||||||||||||||
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 148 of file MoEA.cpp. References BIT_FLIP, Individual::bitFlipMutation(), bMutationParameter_, distributionIndexForMutation_, maximumNumberOfIterations_, mutationOperator_, mutationProbability_, NON_UNIFORM, Individual::nonUniformMutation(), numberOfIterations_, perturbationForMutation_, POLYNOMIAL, Individual::polynomialMutation(), RANDOM, Individual::randomMutation(), TWO_POINTS_INTERCHANGE, Individual::twoPointsInterchange(), UNIFORM, and Individual::uniformMutation(). Referenced by Ssmo2::improvement(), Ssmo1::improvement(), and AbYSS::improvement(). |
|
||||||||||||
|
Definition at line 205 of file MoEA.cpp. References Population::printFitness(). Referenced by Ssmo::printToFiles(), Nsga2::printToFiles(), and AbYSS::printToFiles(). |
|
|
|
|
||||||||||||
|
Definition at line 193 of file MoEA.cpp. References Population::printGenotype(). Referenced by Ssmo::printToFiles(), Nsga2::printToFiles(), and AbYSS::printToFiles(). |
|
|
|
|
|
|
Member Data Documentation
|
|
Definition at line 40 of file MoEA.h. Referenced by crossover(), MoEA(), and Nsga2::Nsga2(). |
|
|
Definition at line 41 of file MoEA.h. Referenced by MoEA(), and mutation(). |
|
|
Definition at line 45 of file MoEA.h. Referenced by crossover(), MoEA(), and Nsga2::Nsga2(). |
|
|
Definition at line 36 of file MoEA.h. Referenced by crossover(), MoEA(), and Nsga2::Nsga2(). |
|
|
Definition at line 38 of file MoEA.h. Referenced by crossover(), MoEA(), Nsga2::Nsga2(), and AbYSS::solutionCombination(). |
|
|
Definition at line 37 of file MoEA.h. Referenced by AbYSS::AbYSS(), MoEA(), mutation(), Nsga2::Nsga2(), and Ssmo::Ssmo(). |
|
|
Definition at line 53 of file MoEA.h. Referenced by Ssmo::printStatistics(), Nsga2::printStatistics(), and AbYSS::printStatistics(). |
|
|
Definition at line 42 of file MoEA.h. Referenced by crossover(), and MoEA(). |
|
|
Definition at line 30 of file MoEA.h. Referenced by AbYSS::AbYSS(), and Ssmo::Ssmo(). |
|
|
Definition at line 29 of file MoEA.h. Referenced by AbYSS::AbYSS(), mutation(), Nsga2::Nsga2(), and Ssmo::Ssmo(). |
|
|
Definition at line 44 of file MoEA.h. Referenced by crossover(), MoEA(), mutation(), and Nsga2::Nsga2(). |
|
|
Definition at line 35 of file MoEA.h. Referenced by AbYSS::AbYSS(), MoEA(), mutation(), Nsga2::Nsga2(), and Ssmo::Ssmo(). |
|
|
Definition at line 33 of file MoEA.h. Referenced by MoEA(), and Nsga2::Nsga2(). |
|
|
Definition at line 31 of file MoEA.h. Referenced by Ssmo2::improvement(), Ssmo1::improvement(), AbYSS::improvement(), MoEA(), Nsga2::Nsga2(), Ssmo::printStatistics(), Nsga2::printStatistics(), AbYSS::printStatistics(), Ssmo2::referenceSetUpdate(), Ssmo::start(), Nsga2::start(), and AbYSS::start(). |
|
|
Definition at line 28 of file MoEA.h. Referenced by MoEA(), mutation(), Ssmo::printStatistics(), and AbYSS::printStatistics(). |
|
|
Definition at line 32 of file MoEA.h. Referenced by Ssmo2::improvement(), Ssmo1::improvement(), AbYSS::improvement(), MoEA(), Nsga2::Nsga2(), Ssmo::printStatistics(), and AbYSS::printStatistics(). |
|
|
Definition at line 39 of file MoEA.h. Referenced by MoEA(), mutation(), and Nsga2::Nsga2(). |
|
|
Definition at line 55 of file MoEA.h. Referenced by MoEA(), and Nsga2::Nsga2(). |
|
|
|
Definition at line 49 of file MoEA.h. Referenced by AbYSS::AbYSS(), Ssmo2::diversificationGeneration(), Ssmo1::diversificationGeneration(), AbYSS::diversificationGeneration(), Nsga2::Nsga2(), Ssmo2::solutionCombination(), Ssmo1::solutionCombination(), Ssmo::Ssmo(), and AbYSS::start(). |
|
|
Definition at line 50 of file MoEA.h. Referenced by MoEA(), and Nsga2::Nsga2(). |
|
|
Definition at line 52 of file MoEA.h. Referenced by Ssmo::printStatistics(), Nsga2::printStatistics(), AbYSS::printStatistics(), Ssmo::start(), Nsga2::start(), and AbYSS::start(). |
The documentation for this class was generated from the following files: