[yul-phaser] main: Set the number of optimisation sequence repetitions to 5

This commit is contained in:
Kamil Śliwak 2020-02-05 19:25:15 +01:00
parent 2291cf78ac
commit e8192e9aa3

View File

@ -72,7 +72,7 @@ CharStream loadSource(string const& _sourcePath)
void runAlgorithm(string const& _sourcePath)
{
CharStream sourceCode = loadSource(_sourcePath);
shared_ptr<FitnessMetric> fitnessMetric = make_shared<ProgramSize>(Program::load(sourceCode));
shared_ptr<FitnessMetric> fitnessMetric = make_shared<ProgramSize>(Program::load(sourceCode), 5);
auto population = Population::makeRandom(
fitnessMetric,
10,