makeOF: A function factory for making the search objective function.

View source: R/weightedKDE.R

makeOFR Documentation

A function factory for making the search objective function.

Description

Used when we need to search for important points. P is the problem list. It should have already gone through BuildConCheckGrid and BinningStep. The returned function must return a value even if WeightedKDE() fails. In case of failure, just assign a large random value to the objective value (to keep the search from stagnating or moving systematically in one direction).

Usage

makeOF(P)

Arguments

P

The list of problem details.

Value

The objective function.


scdensity documentation built on Sept. 12, 2024, 7:35 a.m.