pso.neighborhood.K2: pso.neighborhood.K2

Description Usage Arguments

Description

The neighborhood function for a simple linear topology where every particle has k = 2 neighbors

Usage

1

Arguments

i

The particle position

n

the size of particle population


evoper documentation built on May 2, 2019, 12:13 a.m.