mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
40a6669538
- Mostly for readability and convenience. This significantly shortens calls to sort(). - I could define it as Individual::operator< instead but it would be inconsistent with operator== because it does not compare the chromosomes, only fitness. It could result in an unintuitive situation where (a <= b <= a) does not necessarily imply (a == b). |
||
---|---|---|
.. | ||
Chromosome.cpp | ||
Chromosome.h | ||
Exceptions.h | ||
main.cpp | ||
Population.cpp | ||
Population.h | ||
Program.cpp | ||
Program.h | ||
SimulationRNG.cpp | ||
SimulationRNG.h |