compute_exp_cost: Computes the expected posterior value of the objective...

View source: R/optimization_functions.R

compute_exp_costR Documentation

Computes the expected posterior value of the objective function. This function is private to this file.

Description

Computes the expected posterior value of the objective function. This function is private to this file.

Usage

compute_exp_cost(alphas, n, obj_fn, obj_fn_args)

Arguments

alphas

A row vector from the matrix alphas given in the text.

n

The number of new tracers to release.

obj_fn

The objective function.

obj_fn_args

Arguments to pass to the objective function.

Value

The expected posterior value of the objective function.


btjones16/sequential-analysis-software documentation built on Feb. 21, 2024, 2:23 p.m.