pso.Velocity: pso.velocity

Description Usage Arguments Value

View source: R/abm-pso.R

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


antonio-pgarcia/evoper documentation built on Aug. 30, 2020, 10:40 p.m.