| blib/lib/Algorithm/Evolutionary/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 6 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 505 | 519 | rand > 0.5 ? : |
| 69 | 20 | 12 | if ($$fitness_of{$one} > $$fitness_of{$another}) { } |
| 103 | 43 | 51 | substr($chromosome, $mutation_point, 1) eq 1 ? : |