pso.neighborhood.K2 {evoper}R 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


[Package evoper version 0.5.0 Index]