assess: Update a particle swarm.

Description Usage Arguments Value

Description

Update the properties of an particle swarm.

Usage

1
assess(sw, delta, indicator)

Arguments

sw

the swarm produced by 'initSwarm'. (list)

delta

the closeness function that takes a matrix and return a vector. (num mat -> num vec)

indicator

an indicator function that takes a matrix, and returns a boolean vector that indicates the feasibility of each column of the matrix. (num mat -> bool vec)

Value

a list with various properties of the swarm.


weiyaw/blackbox documentation built on June 7, 2019, 5:12 a.m.