blib/lib/Algorithm/Evolutionary/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 8 | 100.0 |
line | true | false | branch |
---|---|---|---|
21 | 502 | 522 | rand > 0.5 ? : |
74 | 10 | 22 | if ($fitness_of->{$one} > $fitness_of->{$another}) { } |
107 | 79 | 45 | substr($chromosome, $mutation_point, 1) eq 1 ? : |
129 | 1 | 1 | unless ($total_fitness) |