pso.neighborhood.K2: pso.neighborhood.K2

Description Usage Arguments

View source: R/abm-pso.R

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


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