Content deleted Content added
replaced an incorrect 'w' with a 'v' as used in the formulas |
Horndude77 (talk | contribs) m reverted edit as it was correct before |
||
Line 7:
* <math> x \leftarrow x + v </math>
* <math> v \leftarrow wv + c_1 r_1 (\hat{x}-x) + c_2 r_2 (\hat{x}_g-x) </math>
** <math>
** <math>c_1</math> and <math>c_2</math> are constants that say how much the particle is directed towards good positions. Good values are usually right around 1.
** <math>r_1</math> and <math>r_2</math> are random values in the range <math>[0, 1]</math>.
|