deltaFac: Factory of closeness function.

Description Usage Arguments Value

Description

The "closeness" function described in the paper. It is defined as the difference of the objective function values between pilot and current states.

Usage

1
deltaFac(pilot, objf)

Arguments

pilot

an pilot estimate. (num vec)

objf

the objective function. See CEPSO for more details. (num mat -> num vec)

Value

a 'closeness' function that takes in a particle matrix and returns a vector of delta values.


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