Learn R Programming

evoper (version 0.5.0)

pso.lbest: pso.lbest

Description

Finds the lbest for the particle 'i' using the topology function given by the topology parameter.

Usage

pso.lbest(i, pbest, topology)

Arguments

i

The particle position

pbest

The pbest particle collection

topology

The desired topology function

Value

The lbes for i th particle