explore: Do an exploration step.

Description Usage Arguments Value

Description

Do an exploration step for a given particle swarm.

Usage

1
explore(sw, pilot)

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.