line |
true |
false |
branch |
119
|
5 |
0 |
unless (grep /HASH/, @_) |
165
|
0 |
0 |
if ($$network{'debug'}) |
173
|
0 |
0 |
unless ($$_{'nodes'}) |
212
|
8 |
0 |
if ($layer) { } |
236
|
0 |
35 |
if (defined $params{'layer'}) { } |
249
|
0 |
35 |
if ($$network{'round'}) |
253
|
0 |
0 |
if ($_ > 0.5) { } |
|
0 |
0 |
elsif ($_ < -0.5) { } |
283
|
0 |
4 |
unless ($$network{'debug'}) |
291
|
4 |
0 |
if ($$network{'bias'}) |
309
|
4 |
8 |
if ($currentLayer > 0) |
315
|
8 |
8 |
if ($connectionFromWest eq $node) |
321
|
0 |
8 |
if (scalar @debug > 0) |
329
|
4 |
8 |
if ($currentLayer < scalar(@layers) - 1) |
333
|
8 |
0 |
if (not $$network{'randomconnections'} or $$network{'randomconnections'} > rand 1) |
338
|
0 |
8 |
if (scalar @debug > 0) |
350
|
4 |
0 |
if ($$network{'bias'}) |
360
|
0 |
12 |
if (scalar @debug > 0) |
385
|
28 |
42 |
if (not $$network{'debug'}) { } |
396
|
70 |
0 |
unless (grep /0/, @DEBUGLEVELS) |
401
|
0 |
70 |
if ($level == $_) |
421
|
0 |
1 |
unless open OFILE, ">$filename" |
428
|
4 |
0 |
if ($activations) |
440
|
4 |
0 |
if ($$node{'connectedNodesWest'}) |
470
|
0 |
1 |
unless open IFILE, $filename |
483
|
1 |
0 |
if ($$network{'bias'}) |
496
|
4 |
22 |
if ($_ =~ /(.*) activation = (.*)/) { } |
|
13 |
9 |
elsif ($_ =~ /(.*) -> (.*) = (.*)/) { } |
|
9 |
0 |
elsif ($_ =~ /(.*) <- (.*) = (.*)/) { } |
589
|
2 |
2 |
if ($params{'fromnode'}) { } |
|
2 |
0 |
elsif ($params{'fromlayer'}) { } |
671
|
0 |
64 |
if ($$network{'fixedweights'}) { } |
|
48 |
16 |
elsif ($$network{'randomweights'}) { } |
801
|
0 |
20 |
if ($$params{'randomactivation'}) { } |
837
|
0 |
0 |
if ($nodeLesion) |
840
|
0 |
0 |
if ($probability < $nodeLesion) |
846
|
0 |
0 |
if ($connectionLesion) |
853
|
0 |
0 |
if ($probability < $connectionLesion) |
859
|
0 |
0 |
if ($reverseConnection == $node) |