Ssmo Class Reference
Abstract class representing the algorithm SSMO.
#include <Ssmo.h>
Inheritance diagram for Ssmo:

Public Member Functions | |
| Ssmo (MultiobjectiveProblem *problemToSolve, MutationOperator mutationOperator) | |
| Constructor. | |
| virtual | ~Ssmo () |
| Destructor. | |
| virtual void | start () |
| Method invoked to start the algorithm. | |
| virtual Individual * | diversificationGeneration ()=0 |
| virtual Individual * | improvement (Individual *)=0 |
| virtual void | referenceSetUpdate (bool rebuild)=0 |
| virtual int | subsetGeneration ()=0 |
| virtual void | solutionCombination (Individual *, Individual *, int children)=0 |
| void | distanceToPopulation (Population *, Individual *) |
| This method measures the distance of an individual to a population. | |
| void | addImprovedIndividual (Population *population, Individual *) |
| Add an improved solution to the population P. | |
| virtual int | removeDominatedIndividuals (Population *population)=0 |
| virtual int | removeIndividuals (Population *population, int finalSize)=0 |
| void | readConfigurationData () |
| Reads parameters from a file named "Ssmo.cfg". | |
| void | printStatistics () |
| Print execution statistics. | |
| void | printToFiles (char *variableFileName, char *functionFileName) |
| Prints the values of the variables and the objective functions. | |
Protected Attributes | |
| Population * | population_ |
| Population * | dummyPopulation_ |
| Population * | qualityReferenceSet_ |
| Population * | diversityReferenceSet_ |
| Population * | combinedSolutions_ |
| Population * | improvedCombinedSolutions_ |
| int | populationSize_ |
| int | maximumPopulationSize_ |
| int | qualityReferenceSetSize_ |
| int | diversityReferenceSetSize_ |
| int | numberOfSubranges_ |
| int | improvementIterations_ |
Detailed Description
Definition at line 29 of file Ssmo.h.
Constructor & Destructor Documentation
|
||||||||||||
|
|
|
Member Function Documentation
|
||||||||||||
|
Definition at line 223 of file Ssmo.cpp. References Population::addIndividual(), Population::getPopulationSize(), Population::maximumPopulationSize_, population_, populationSize_, removeIndividuals(), and Population::thereIsAnEqualFitnessIndividual(). Referenced by Ssmo2::improvement(), Ssmo1::improvement(), and start(). |
|
||||||||||||
|
Definition at line 187 of file Ssmo.cpp. References Individual::chromosome_, Individual::distance_, Chromosome::gene_, Population::getIth(), Population::getPopulationSize(), Gene::getRealAllele(), MultiobjectiveProblem::numberOfVariables_, and MoEA::problem_. |
|
|
Implemented in Ssmo1, and Ssmo2. Referenced by start(). |
|
|
Implemented in Ssmo1, and Ssmo2. Referenced by start(). |
|
|
Implements MoEA. Definition at line 256 of file Ssmo.cpp. References MoEA::endTime_, MoEA::numberOfFitnessEvaluations_, MoEA::numberOfIterations_, MoEA::numberOfMutations_, and MoEA::startTime_. Referenced by main(). |
|
||||||||||||
|
Definition at line 244 of file Ssmo.cpp. References Population::getPopulationSize(), population_, MoEA::printFunctionValuesToFile(), MoEA::printVariablesToFile(), and Population::sortByFitness(). Referenced by main(). |
|
|
Implements MoEA. Definition at line 269 of file Ssmo.cpp. Referenced by Ssmo(). |
|
|
|
|
|
|
|
||||||||||||
|
Implemented in Ssmo1, and Ssmo2. Referenced by addImprovedIndividual(). |
|
||||||||||||||||
|
|
|
|
Implements MoEA. Definition at line 91 of file Ssmo.cpp. References addImprovedIndividual(), diversificationGeneration(), MultiobjectiveProblem::evaluate(), MultiobjectiveProblem::evaluateConstraints(), improvement(), MoEA::numberOfFitnessEvaluations_, population_, populationSize_, MoEA::problem_, and MoEA::startTime_. Referenced by main(). |
|
|
|
Member Data Documentation
|
|
Definition at line 36 of file Ssmo.h. Referenced by Ssmo(). |
|
|
Definition at line 34 of file Ssmo.h. Referenced by Ssmo(). |
|
|
Definition at line 42 of file Ssmo.h. Referenced by Ssmo1::referenceSetUpdate(), and Ssmo(). |
|
|
Definition at line 32 of file Ssmo.h. Referenced by Ssmo2::removeDominatedIndividuals(), Ssmo1::removeDominatedIndividuals(), Ssmo2::removeIndividuals(), Ssmo1::removeIndividuals(), and Ssmo(). |
|
|
Definition at line 37 of file Ssmo.h. Referenced by Ssmo(). |
|
|
Definition at line 45 of file Ssmo.h. Referenced by Ssmo2::improvement(), Ssmo1::improvement(), and Ssmo(). |
|
|
Reimplemented in Ssmo2. Definition at line 40 of file Ssmo.h. Referenced by Ssmo(). |
|
|
Definition at line 44 of file Ssmo.h. Referenced by Ssmo2::diversificationGeneration(), Ssmo1::diversificationGeneration(), Ssmo(), Ssmo1::Ssmo1(), and Ssmo2::Ssmo2(). |
|
|
Definition at line 31 of file Ssmo.h. Referenced by addImprovedIndividual(), Ssmo2::improvement(), Ssmo1::improvement(), printToFiles(), Ssmo2::referenceSetUpdate(), Ssmo1::referenceSetUpdate(), Ssmo2::removeDominatedIndividuals(), Ssmo1::removeDominatedIndividuals(), Ssmo2::removeIndividuals(), Ssmo1::removeIndividuals(), Ssmo(), and start(). |
|
|
Definition at line 39 of file Ssmo.h. Referenced by addImprovedIndividual(), Ssmo2::removeDominatedIndividuals(), Ssmo1::removeDominatedIndividuals(), Ssmo(), and start(). |
|
|
Definition at line 33 of file Ssmo.h. Referenced by Ssmo2::referenceSetUpdate(), Ssmo1::referenceSetUpdate(), Ssmo(), Ssmo2::subsetGeneration(), and Ssmo1::subsetGeneration(). |
|
|
Definition at line 41 of file Ssmo.h. Referenced by Ssmo2::referenceSetUpdate(), Ssmo1::referenceSetUpdate(), and Ssmo(). |
The documentation for this class was generated from the following files: