| blib/lib/AI/NeuralNet/SOM/Hexa.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 17 | 20 | 85.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 52 | 7 | 0 | if ($$self{'output_dim'} > 0) { } | 
| 57 | 7 | 0 | if ($$self{'input_dim'} > 0) { } | 
| 110 | 20 | 6 | if $i > $#data | 
| 112 | 4 | 1 | if @data | 
| 133 | 202 | 1611 | unless $closest | 
| 134 | 0 | 1813 | if $distance < $$closest[2] | 
| 151 | 846 | 1062 | if $distance > $sigma | 
| 162 | 36 | 1872 | if $x1 + $y1 > $x2 + $y2 | 
| 168 | 25 | 1883 | if ($dx < 0 or $dy < 0) { } | 
| 171 | 633 | 1250 | $dx < $dy ? : |