line |
true |
false |
branch |
136
|
2 |
71 |
if ($arg) |
149
|
18 |
168 |
if ($$self{'SAMPLING'} eq 'mc') { } |
|
53 |
115 |
elsif ($$self{'SAMPLING'} eq 'enum') { } |
197
|
0 |
239 |
if ($Statistics::MaxEntropy::cntrl_c_pressed) |
213
|
0 |
2 |
unless open EVENTS, $file |
227
|
200 |
0 |
unless (/\#.*/) |
231
|
0 |
200 |
if ($$self{'FREQ'} == 0) |
237
|
2 |
198 |
if ($$self{'NR_CLASSES'} == 0) { } |
242
|
0 |
198 |
if (length $features != $$self{'NR_FEATURES'}) |
272
|
0 |
0 |
unless open DISTR, $file |
277
|
0 |
0 |
unless (/\#.*/) |
284
|
0 |
0 |
if ($i != $$self{'NR_FEATURES'}) |
299
|
0 |
1 |
unless open DISTR, ">$file" |
304
|
0 |
18 |
if ($$self{'FEATURE_IGNORE'}{$i}) { } |
327
|
0 |
0 |
unless open DISTR, ">$file" |
334
|
0 |
0 |
if ($$self{'SCALER'} eq 'gis') |
345
|
0 |
0 |
if ($$self{'FEATURE_IGNORE'}{$x}) { } |
369
|
1 |
1 |
if ($$self{'SCALER'} eq 'gis') |
385
|
4 |
4 |
if ($$self{'SCALER'} eq 'gis') |
397
|
10 |
8 |
if (not $$self{'PARAMETERS_INITIALISED'}) |
398
|
2 |
8 |
if ($$self{'SAMPLING'} eq 'mc') { } |
403
|
4 |
4 |
if ($$self{'SCALER'} eq 'gis') { } |
428
|
0 |
27182 |
if ($$self{'CLASS_EXP_WEIGHTS'}[$x] == 0) |
438
|
0 |
3261 |
if (not $sum or $sum == $$self{'NR_CLASSES'}) |
455
|
0 |
1 |
unless open EVENTS, ">$file" |
483
|
0 |
0 |
unless open UNDUMP, "$file" |
509
|
0 |
2 |
unless ($file) |
512
|
0 |
2 |
unless open DUMP, ">$file" |
518
|
2 |
0 |
if (not $$self{'THIS_IS_A_SAMPLE'} and $$self{'PARAMETERS'}) |
523
|
1 |
1 |
if ($$self{'NEED_CORRECTION_FEATURE'} and $$self{'SCALER'} eq 'gis') |
530
|
0 |
62 |
if ($features{$b} == $features{$a}) { } |
579
|
76 |
204 |
if ($$self{'CLASSES_CHANGED'}) |
585
|
356 |
7226 |
if ($$self{'CLASSES'}[$i]->Norm > $$self{'M'}) |
591
|
0 |
76 |
if ($Statistics::MaxEntropy::debug) |
598
|
3692 |
3890 |
if ($$self{'SCALER'} eq 'gis') |
603
|
0 |
76 |
if ($Statistics::MaxEntropy::debug) |
607
|
58 |
18 |
unless ($$self{'THIS_IS_A_SAMPLE'}) |
623
|
272 |
8 |
if ($$self{'PARAMETERS_CHANGED'}) |
630
|
16492 |
10690 |
if ($$self{'NEED_CORRECTION_FEATURE'} and $$self{'SCALER'} eq 'gis') |
637
|
0 |
272 |
unless is_float($$self{'Z'}) |
640
|
254 |
18 |
unless ($$self{'THIS_IS_A_SAMPLE'}) |
653
|
123 |
63 |
if ($$self{'SCALER'} eq 'gis') { } |
674
|
41 |
82 |
if ($$self{'SAMPLING'} eq 'enum') { } |
696
|
8192 |
0 |
if ($$self{'NEED_CORRECTION_FEATURE'}) |
721
|
2900 |
2900 |
if ($$self{'SCALER'} eq 'gis') |
727
|
823 |
19 |
if ($sum[$f]) |
760
|
0 |
25400 |
if ($w == 0) |
783
|
15198208 |
0 |
unless ($$self{'FEATURE_IGNORE'}{$f}) |
787
|
817152 |
1052672 |
if ($$self{'NEED_CORRECTION_FEATURE'} and $$self{'SCALER'} eq 'gis') |
809
|
12 |
51 |
if ($$self{'SAMPLING'} eq 'enum') { } |
819
|
0 |
1052672 |
unless is_float($$self{'Z'}) |
843
|
2313 |
1787 |
rand() <= $load ? : |
874
|
1423 |
2677 |
if ($state->bit_flip($k)) { } |
881
|
1188 |
2912 |
1 < $R ? : |
|
1787 |
2313 |
if (not loaded_die(1 < $R ? 1 : $R)) { } |
888
|
0 |
4100 |
if ($Statistics::MaxEntropy::debug) |
923
|
0 |
0 |
if ($$self{'C'}{$m}{$j}) |
929
|
0 |
0 |
unless is_float($s0) |
931
|
0 |
0 |
unless is_float($s1) |
934
|
0 |
0 |
if ($s1 == 0) { } |
955
|
24589 |
2017 |
if ($$self{'A'}{$m}{$j}) |
961
|
0 |
2813 |
if ($sum_deriv == 0) { } |
990
|
955 |
1858 |
if ($$self{'SAMPLING'} eq 'enum') { } |
1000
|
0 |
764 |
if ($Statistics::MaxEntropy::debug) |
1014
|
2161 |
0 |
unless ($$self{'FEATURE_IGNORE'}{$f}) |
1015
|
1397 |
764 |
if ($$self{'SCALER'} eq 'gis') { } |
1026
|
123 |
63 |
if ($$self{'SCALER'} eq 'gis' and $$self{'NEED_CORRECTION_FEATURE'}) |
1047
|
6 |
12 |
if ($sampling) |
1050
|
6 |
12 |
if ($scaler) |
1063
|
168 |
18 |
if ($sample) |
1075
|
0 |
186 |
if ($Statistics::MaxEntropy::debug) |
1078
|
10 |
176 |
if ($diff < 0) |
1086
|
0 |
186 |
if ($Statistics::MaxEntropy::cntrl_backslash_pressed) |
1110
|
14 |
14 |
if ($$self{'SCALER'} eq 'gis') { } |
1154
|
0 |
0 |
if ($found) |
1159
|
0 |
0 |
unless ($found) |
1183
|
20 |
4 |
unless ($$candidates{'ADDED'}{$c}) |
1187
|
234 |
1766 |
if ($$candidates{'CANDIDATES'}[$x]->bit_test($c)) |
1196
|
20 |
0 |
if ($above * $below > 0) { } |
1207
|
8 |
12 |
if ($$candidates{'MAX_GAIN'} <= $$candidates{'GAIN'}[$c]) |
1226
|
4 |
0 |
if ($scaler) |
1229
|
4 |
0 |
if ($sample) |
1233
|
0 |
4 |
if ($$self{'NR_CLASSES'} != $$candidates{'NR_CLASSES'}) |
1239
|
0 |
4 |
$n > $$candidates{'NR_CANDIDATES'} ? : |