blib/lib/Algorithm/Evolutionary/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 8 | 100.0 |
line | true | false | branch |
---|---|---|---|
21 | 517 | 507 | rand > 0.5 ? : |
73 | 11 | 21 | if ($fitness_of->{$one} > $fitness_of->{$another}) { } |
105 | 69 | 55 | substr($chromosome, $mutation_point, 1) eq 1 ? : |
127 | 1 | 1 | unless ($total_fitness) |