| 164 | } |
| 165 | |
| 166 | void AlgorithmRunner::randomiseDuplicates() |
| 167 | { |
| 168 | if (m_options.randomiseDuplicates) |
| 169 | { |
| 170 | assert(m_options.minChromosomeLength.has_value()); |
| 171 | assert(m_options.maxChromosomeLength.has_value()); |
| 172 | |
| 173 | m_population = randomiseDuplicates( |
| 174 | m_population, |
| 175 | m_options.minChromosomeLength.value(), |
| 176 | m_options.maxChromosomeLength.value() |
| 177 | ); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | Population AlgorithmRunner::randomiseDuplicates( |
| 182 | Population _population, |
nothing calls this directly
no test coverage detected