pso.Velocity: pso.velocity

Description

Calculates the PSO Velocity

Usage

1
pso.Velocity(W = 1, Vi, phi1, phi2, Pi, Pg, Xi)

Arguments

W

Weight (Inertia weight or constriction coefficient)

Vi

Current Velocity vector

phi1

Acceleration coefficient toward the previous best

phi2

Acceleration coefficient toward the global best

Pi

Personal best

Pg

Neighborhood best

Xi

Particle vector

Value

Updated velocity


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.