Projet du cours MPRI 2.24.2 "Résolution de problèmes d'optimisation avec heuristiques de recherche" : https://wikimpri.dptinfo.ens-cachan.fr/doku.php?id=cours:c-2-24-2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PEA.h 566B

  1. #ifndef PEA_H
  2. #define PEA_H
  3. #include "heuristics/GGA.h"
  4. #include "problems/crossover.h"
  5. class PEA : public GGA
  6. {
  7. public:
  8. PEA(int mu, int lda, int selection, std::vector<double> mutation_probas, std::default_random_engine& randomizer) :
  9. GGA(mu, lda, selection, UNIFORM_CROSSOVER, GA_V1, randomizer), m_mutation_probas{mutation_probas} {};
  10. double get_crossover_proba(double progress);
  11. double get_sbm_proba(double progress);
  12. protected:
  13. std::vector<double> m_mutation_probas;
  14. };
  15. #endif // PEA_H