Particle swarm optimization: Difference between revisions
→{{header|Javascript}}
m (→{{header|REXX}}: added/changed whitespace and comments, simplified a function, added a better (computation) cessation algorithm.) |
|||
Line 116:
GlobalBestValue: _1.8013</lang>
=={{header|
Translation of [[Particle_Swarm_Optimization#J|J]].
<lang
var nDims= y.min.length;
var pos=[], vel=[], bpos=[], bval=[];
|