new command::Option<int>("--generation-size", "Generation size", [](int value)->void { generationSize = value; }),
new command::Option<float>("--crossover", "Crossover chance", [](float value)->void { crossoverChance = value; }),
new command::Option<float>("--mutation", "Mutation chance", [](float value)->void { mutationChance = value; }),
- new command::Option<float>("--generation-limit", "Limit of generations", [](float value)->void { mutationChance = value; }),
+ new command::Option<float>("--generation-limit", "Limit of generations", [](float value)->void { generationLimit = value; }),
});
_Fitness fitness(0.5, 2.5);