| line |
true |
false |
branch |
|
140
|
4 |
33 |
if ($filename) |
|
154
|
16 |
316 |
if ($self->{'SAMPLING'} eq 'mc') { } |
|
|
17 |
299 |
elsif ($self->{'SAMPLING'} eq 'enum') { } |
|
203
|
0 |
343 |
if ($Statistics::MaxEntropy::cntrl_c_pressed) |
|
222
|
0 |
4 |
unless open EVENTS, $file |
|
237
|
400 |
0 |
unless (/\#.*/) |
|
240
|
400 |
0 |
if (/\s*(\d+)\s+(.+)/) |
|
244
|
0 |
400 |
if ($self->{'FREQ'} == 0) |
|
274
|
0 |
0 |
unless open DISTR, $file |
|
279
|
0 |
0 |
unless (/\#.*/) |
|
286
|
0 |
0 |
if ($i != $self->{'NR_FEATURES'}) |
|
301
|
0 |
1 |
unless open DISTR, ">$file" |
|
306
|
0 |
18 |
if ($self->{'FEATURE_IGNORE'}->bit_test($i)) { } |
|
329
|
0 |
0 |
unless open DISTR, ">$file" |
|
336
|
0 |
0 |
if ($self->{'SCALER'} eq 'gis') |
|
346
|
0 |
0 |
if ($self->{'FEATURE_IGNORE'}->bit_test($x)) { } |
|
370
|
1 |
1 |
if ($self->{'SCALER'} eq 'gis') |
|
386
|
6 |
6 |
if ($self->{'SCALER'} eq 'gis') |
|
398
|
14 |
8 |
if (not $self->{'PARAMETERS_INITIALISED'}) |
|
399
|
2 |
12 |
if ($self->{'SAMPLING'} eq 'mc') { } |
|
404
|
6 |
6 |
if ($self->{'SCALER'} eq 'gis') { } |
|
426
|
0 |
41984 |
if ($self->{'CLASS_EXP_WEIGHTS'}[$x] == 0) |
|
443
|
0 |
1 |
unless open EVENTS, ">$file" |
|
471
|
0 |
0 |
unless open UNDUMP, "$file" |
|
497
|
0 |
3 |
unless ($file) |
|
500
|
0 |
3 |
unless open DUMP, ">$file" |
|
506
|
3 |
0 |
if (not $self->{'THIS_IS_A_SAMPLE'} and $self->{'PARAMETERS'}) |
|
511
|
2 |
1 |
if ($self->{'NEED_CORRECTION_FEATURE'} and $self->{'SCALER'} eq 'gis') |
|
518
|
1 |
88 |
if ($features{$b} == $features{$a}) { } |
|
568
|
78 |
350 |
if ($self->{'CLASSES_CHANGED'}) |
|
575
|
0 |
984 |
if (not $sum or $sum == $self->{'NR_CLASSES'}) |
|
585
|
256 |
7528 |
if ($self->{'CLASSES'}[$i]->Norm > $self->{'M'}) |
|
591
|
0 |
78 |
if ($Statistics::MaxEntropy::debug) |
|
598
|
3595 |
4189 |
if ($self->{'SCALER'} eq 'gis') |
|
603
|
0 |
78 |
if ($Statistics::MaxEntropy::debug) |
|
607
|
62 |
16 |
unless ($self->{'THIS_IS_A_SAMPLE'}) |
|
623
|
420 |
8 |
if ($self->{'PARAMETERS_CHANGED'}) |
|
630
|
0 |
91446 |
if ($f >= $self->{'NR_FEATURES'}) |
|
634
|
27695 |
14289 |
if ($self->{'NEED_CORRECTION_FEATURE'} and $self->{'SCALER'} eq 'gis') |
|
642
|
0 |
420 |
unless is_float($self->{'Z'}) |
|
644
|
404 |
16 |
unless ($self->{'THIS_IS_A_SAMPLE'}) |
|
657
|
236 |
96 |
if ($self->{'SCALER'} eq 'gis') { } |
|
678
|
9 |
227 |
if ($self->{'SAMPLING'} eq 'enum') { } |
|
701
|
22695 |
0 |
if ($self->{'NEED_CORRECTION_FEATURE'}) |
|
726
|
3100 |
3100 |
if ($self->{'SCALER'} eq 'gis') |
|
732
|
855 |
31 |
if ($sum[$f]) |
|
765
|
0 |
40400 |
if ($w == 0) |
|
791
|
498688 |
0 |
unless ($self->{'FEATURE_IGNORE'}->bit_test($f)) |
|
793
|
0 |
498688 |
if ($Statistics::MaxEntropy::debug) |
|
801
|
0 |
77824 |
if (defined $y and $x->Size + $y->Size == $self->{'NR_FEATURES'}) |
|
803
|
0 |
0 |
unless ($self->{'FEATURE_IGNORE'}->bit_test($f + $x->Size)) |
|
806
|
0 |
0 |
if ($Statistics::MaxEntropy::debug) |
|
813
|
18432 |
59392 |
if ($self->{'NEED_CORRECTION_FEATURE'} and $self->{'SCALER'} eq 'gis') |
|
835
|
8 |
88 |
if ($self->{'SAMPLING'} eq 'enum') { } |
|
845
|
0 |
59392 |
unless is_float($self->{'Z'}) |
|
871
|
2284 |
2511 |
rand() <= $load ? : |
|
902
|
1205 |
3590 |
if ($state->bit_flip($k)) { } |
|
909
|
1193 |
3602 |
1 < $R ? : |
|
|
2511 |
2284 |
if (not loaded_die(1 < $R ? 1 : $R)) { } |
|
916
|
0 |
4795 |
if ($Statistics::MaxEntropy::debug) |
|
951
|
0 |
0 |
if ($self->{'C'}{$m}{$j}) |
|
957
|
0 |
0 |
unless is_float($s0) |
|
959
|
0 |
0 |
unless is_float($s1) |
|
962
|
0 |
0 |
if ($s1 == 0) { } |
|
983
|
21560 |
23719 |
if ($self->{'A'}{$m}{$j}) |
|
989
|
0 |
3538 |
if ($sum_deriv == 0) { } |
|
1018
|
504 |
3034 |
if ($self->{'SAMPLING'} eq 'enum') { } |
|
1028
|
0 |
1103 |
if ($Statistics::MaxEntropy::debug) |
|
1042
|
3644 |
0 |
unless ($self->{'FEATURE_IGNORE'}->bit_test($f)) |
|
1043
|
2541 |
1103 |
if ($self->{'SCALER'} eq 'gis') { } |
|
1054
|
236 |
0 |
if ($self->{'SCALER'} eq 'gis' and $self->{'NEED_CORRECTION_FEATURE'}) |
|
1075
|
10 |
12 |
if ($sampling) |
|
1078
|
10 |
12 |
if ($scaler) |
|
1081
|
0 |
22 |
if ($self->{'SAMPLING'} eq 'enum' and $self->{'VECTYPE'} eq 'integer') |
|
1084
|
0 |
22 |
if ($self->{'SAMPLING'} eq 'mc' and $self->{'VECTYPE'} eq 'integer') |
|
1097
|
310 |
22 |
if ($sample) |
|
1109
|
0 |
332 |
if ($Statistics::MaxEntropy::debug) |
|
1112
|
10 |
322 |
if ($diff < 0) |
|
1120
|
0 |
332 |
if ($Statistics::MaxEntropy::cntrl_backslash_pressed) |
|
1143
|
14 |
14 |
if ($self->{'SCALER'} eq 'gis') { } |
|
1185
|
0 |
0 |
if ($found) |
|
1190
|
0 |
0 |
unless ($found) |
|
1214
|
20 |
4 |
unless ($candidates->{'ADDED'}{$c}) |
|
1218
|
238 |
1762 |
if ($candidates->{'CANDIDATES'}[$x]->bit_test($c)) |
|
1227
|
20 |
0 |
if ($above * $below > 0) { } |
|
1238
|
5 |
15 |
if ($candidates->{'MAX_GAIN'} <= $candidates->{'GAIN'}[$c]) |
|
1257
|
4 |
0 |
if ($scaler) |
|
1260
|
4 |
0 |
if ($sample) |
|
1264
|
0 |
4 |
if ($self->{'NR_CLASSES'} != $candidates->{'NR_CLASSES'}) |
|
1269
|
0 |
4 |
$n > $candidates->{'NR_CANDIDATES'} ? : |
|
1309
|
0 |
0 |
if ($weight > $best_weight) |
|
1312
|
0 |
0 |
if ($Statistics::MaxEntropy::debug) |