• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

Ranking.h

Go to the documentation of this file.
00001 
00010 #ifndef __RANKING__
00011 #define __RANKING__
00012 
00013 #include <Configuration.h>
00014 #include <Population.h>
00015 #include <Individual.h>
00016 
00022 class Ranking {
00023 public:
00024   Population *  population_         ;
00025 
00026   int   maximumRank_                 ; // Maximum rank in the population
00027   int * dominationCount_             ; // Solutions dominate by each individual
00028   int **dominatedSolutions_          ;
00029   int * numberOfDominatedSolutions_  ;
00030   int * currentFront_                ;
00031   int   currentFrontSize_            ;
00032   int * nextFront_                   ;
00033   int   nextFrontSize_               ;  
00034   
00035   Population **nonDominatedFront_ ;
00036   
00037   // Constructor
00038   Ranking(Population * population) ;
00039   
00040   // Destructor
00041   ~Ranking();
00042   
00043   // Methods
00044   void   rankPopulation(int numberOfIndividuals)  ; 
00045   void   copyFrontToPopulation(int frontIdentifier, 
00046                                int numberOfIndividuals, 
00047                                Population * population) ;
00048   
00049 }; // class Ranking
00050 
00051 #endif

Our Software

orangebox Mallba

orangebox ssGA

orangebox JGDS

orangebox xxGA

orangebox JCell

orangebox MHTB

orangebox DEME

orangebox JMetal

orangebox More...

orangebox Go Back