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.

GA.h 515B

  1. #ifndef GA_H
  2. #define GA_H
  3. #include <random>
  4. #include "GGA.h"
  5. class GA : public GGA {
  6. public:
  7. GA(int mu, int lda, int selection, double sbm_proba, double crossover_proba, int crossover_method, int version, std::default_random_engine& randomizer) : GGA(mu, lda, selection, sbm_proba, crossover_method, version, randomizer), m_crossover_proba{crossover_proba} {};
  8. double get_crossover_proba(double progress);
  9. protected:
  10. double m_crossover_proba;
  11. };
  12. #endif // GA_H