ceandrade / brkga_mp_ipr_cpp

The Multi-Parent Biased Random-Key Genetic Algorithm with Implict Path Relink - C++ version
Other
16 stars 6 forks source link

Consider removing constructors from BrkgaParams and ControlParams #8

Open intractabilis opened 11 months ago

intractabilis commented 11 months ago

These constructors prevent aggregate initialization

auto params = BRKGA::BrkgaParams{
    .population_size    = 100
  , .elite_percentage   = 0.3
  , .mutants_percentage = 0.2
};