pso.neighborhood.K2: pso.neighborhood.K2

View source: R/abm-pso.R

pso.neighborhood.K2R Documentation

pso.neighborhood.K2

Description

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

Usage

pso.neighborhood.K2(i, n)

Arguments

i

The particle position

n

the size of particle population


evoper documentation built on Jan. 28, 2026, 5:06 p.m.