line |
true |
false |
branch |
109
|
2 |
0 |
defined $params{'numParticles'} ? : |
110
|
2 |
0 |
defined $params{'numNeighbors'} ? : |
111
|
2 |
0 |
defined $params{'maxIterations'} ? : |
112
|
2 |
0 |
defined $params{'dimensions'} ? : |
113
|
2 |
0 |
defined $params{'exitFitness'} ? : |
114
|
2 |
0 |
defined $params{'deltaMin'} ? : |
115
|
2 |
0 |
defined $params{'deltaMax'} ? : |
116
|
2 |
0 |
defined $params{'meWeight'} ? : |
117
|
2 |
0 |
defined $params{'meMin'} ? : |
118
|
2 |
0 |
defined $params{'meMax'} ? : |
119
|
2 |
0 |
defined $params{'themWeight'} ? : |
120
|
2 |
0 |
defined $params{'themMin'} ? : |
121
|
2 |
0 |
defined $params{'themMax'} ? : |
123
|
1 |
1 |
defined $params{'psoRandomRange'} ? : |
125
|
2 |
0 |
defined $params{'verbose'} ? : |
128
|
1 |
1 |
if ($psoRandomRange =~ /null/) { } |
134
|
0 |
2 |
if $param_string =~ /null/ |
180
|
1 |
1 |
if ($psoRandomRange =~ /null/) { } |
267
|
16 |
84 |
if ($fitness > &compute_fitness(@{$particles[$p]{'bestPos'};})) |
275
|
2 |
98 |
if ($fitness >= $exitFitness) { } |
282
|
98 |
0 |
if ($verbose == 1) |
285
|
0 |
98 |
if ($verbose == 2) |
301
|
272 |
96 |
if ($useModifiedAlgorithm) { } |
337
|
0 |
0 |
if ($endFit >= $bestFit) |
423
|
159 |
117 |
if (&compute_fitness(@{$particles[$particleNeighborIndex]{'bestPos'};}) > $bestNeighborFitness) |
438
|
116 |
252 |
if ($dx < $deltaMin) { } |
|
32 |
220 |
elsif ($dx > $deltaMax) { } |