mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[yul-phaser] main: Lower gene mutation chance in GEWEP
This commit is contained in:
parent
763bdb1d51
commit
0fa2aa62b2
@ -143,8 +143,8 @@ void runAlgorithm(string const& _sourcePath, Algorithm _algorithm)
|
|||||||
/* crossoverPoolSize = */ 0.25,
|
/* crossoverPoolSize = */ 0.25,
|
||||||
/* randomisationChance = */ 0.9,
|
/* randomisationChance = */ 0.9,
|
||||||
/* deletionVsAdditionChance = */ 0.5,
|
/* deletionVsAdditionChance = */ 0.5,
|
||||||
/* percentGenesToRandomise = */ 0.1,
|
/* percentGenesToRandomise = */ 1.0 / maxChromosomeLength,
|
||||||
/* percentGenesToAddOrDelete = */ 0.1,
|
/* percentGenesToAddOrDelete = */ 1.0 / maxChromosomeLength,
|
||||||
}
|
}
|
||||||
).run();
|
).run();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user