line |
true |
false |
branch |
82
|
3 |
0 |
if @_ |
107
|
0 |
14 |
if $$obj{'populations'} < 1 |
108
|
0 |
14 |
if $$obj{'individuals'} < 1 |
109
|
0 |
14 |
if $$obj{'parents'} < 1 |
110
|
0 |
14 |
if $$obj{'children'} < 1 |
111
|
0 |
14 |
if $$obj{'children'} < $$obj{'individuals'} |
113
|
0 |
14 |
if $$obj{'elite'} >= $$obj{'individuals'} |
115
|
0 |
14 |
if $$obj{'selection_scheme'} != 1 and $$obj{'selection_scheme'} != 2 |
117
|
0 |
14 |
if $$obj{'generations'} < 1 |
118
|
0 |
14 |
if $$obj{'variance_mutator'} < 0 |
119
|
0 |
14 |
if $$obj{'isolation'} < 0 |
120
|
0 |
14 |
if $$obj{'migrators'} < 0 |
127
|
0 |
14 |
unless $ng == $ngd |
129
|
0 |
14 |
unless $ng == $gmx |
131
|
0 |
14 |
unless $ng == $gmn |
138
|
0 |
86 |
if $ng == $gmx and $max < $g |
140
|
0 |
86 |
if $ng == $gmn and $min > $g |
144
|
2 |
12 |
if ($$obj{'populations'} == 1) |
145
|
0 |
2 |
if $$obj{'isolation'} > 0 |
147
|
0 |
2 |
if $$obj{'migrators'} > 0 |
151
|
0 |
14 |
unless ref($$obj{'rating_function'}) =~ /CODE/ |
154
|
0 |
14 |
if $debug |
172
|
0 |
3 |
if $msg |
177
|
0 |
3 |
if ($debug) |
180
|
3 |
0 |
if ($log) |
188
|
0 |
8 |
if $debug |
208
|
0 |
8 |
defined $$obj{'max_gene_deviations'} ? : |
|
0 |
8 |
defined $$obj{'min_gene_deviations'} ? : |
215
|
0 |
8 |
if $debug |
238
|
0 |
11 |
if $msg |
262
|
520 |
0 |
if ($log) |
274
|
1380 |
0 |
if ($log) |
287
|
100 |
420 |
if ($nmig > 0 and scalar @populations > 1) |
292
|
3 |
317 |
if ($niso > 0 and scalar @populations > 1 and $gn % $niso == 0) |
331
|
0 |
100 |
if $debug |
356
|
0 |
10 |
if $debug |
361
|
0 |
3 |
if $debug |
367
|
0 |
3 |
if $debug |
376
|
80 |
0 |
if (defined $idx and defined $all_indy[$idx]) { } |
386
|
0 |
3 |
if $debug |
454
|
0 |
8 |
if $debug |
458
|
0 |
60 |
if $debug |
461
|
8 |
52 |
if $j == 1 |
479
|
0 |
60 |
if $debug |
482
|
0 |
8 |
if $debug |
506
|
0 |
1380 |
if ($debug) |
526
|
4744 |
51400 |
if (grep /^$num$/, @parents_idx) { } |
536
|
0 |
25700 |
if $debug |
547
|
0 |
25700 |
if $debug |
560
|
8 |
2884 |
unless (exists $$obj{'pop_rate_individuals'} or defined $$obj{'pop_rate_individuals'}) |
593
|
8 |
1372 |
unless (exists $$obj{'pop_rate_children'} or defined $$obj{'pop_rate_children'}) |
633
|
1080 |
300 |
if ($elite > 0 and $elite <= $nindy) |
643
|
1380 |
0 |
if ($nrest > 0) |
649
|
1180 |
200 |
if ($scheme == 1) { } |
|
200 |
0 |
elsif ($scheme == 2) { } |
688
|
0 |
600 |
if $nindy - $elite <= 0 |
689
|
0 |
600 |
if $nindy == 0 |
747
|
52 |
25708 |
if ($$obj{'mutate'}) |
765
|
25760 |
404127 |
unless (defined $$obj{'indy_rate'}) |
787
|
0 |
142656 |
if (defined $$obj{'max_gene_deviations'}[$i] and $tmp > $$obj{'max_gene_deviations'}[$i]) { } |
|
0 |
142656 |
elsif (defined $$obj{'min_gene_deviations'}[$i] and $tmp < $$obj{'min_gene_deviations'}[$i]) { } |
806
|
359453 |
359685 |
random_uniform() > 0.5 ? : |
812
|
279749 |
439389 |
if $temp > $$obj{'max_gene_values'}[$i] |
813
|
296733 |
142656 |
if $temp < $$obj{'min_gene_values'}[$i] |
843
|
25700 |
0 |
unless ($np == 1) |
852
|
142400 |
70918 |
if ($rnu <= 1 / $np * ($p + 1)) |
874
|
154152 |
205600 |
if (ref($temp) =~ /ARRAY/) { } |
|
0 |
205600 |
elsif (ref($temp) =~ /HASH/) { } |