Skip to content

Commit

Permalink
added disable save pop option
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisset committed Sep 4, 2019
1 parent cc273b1 commit 76cf5b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gaga.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ template <typename DNA, typename Ind = Individual<DNA>> class GA {
********************************************************************************/
public:
void enablePopulationSave() { savePopEnabled = true; }
void disablePopulationSave() { savePopEnabled = false; }
void setVerbosity(unsigned int lvl) { verbosity = lvl <= 3 ? (lvl >= 0 ? lvl : 0) : 3; }
void setPopSize(size_t s) { popSize = s; }
size_t getPopSize() const { return popSize; }
Expand Down

0 comments on commit 76cf5b0

Please sign in to comment.