Skip to contents

During a nested sampling run, you may wish to update the internal parameters of the LRPS based on sampler performance or other criteria. The frequency of these updates is set by the first_update and update_interval arguments of ernest_sampler().

If you are creating your own ernest_lrps subclass, implement this method to specify any special update behaviour. The default method reconstructs the LRPS with current parameters and resets the likelihood call counter in the cache.

Usage

update_lrps(x)

# S3 method for class 'rwmh_cube'
update_lrps(x)

Arguments

x

An ernest_lrps object.

Value

An updated ernest_lrps object with the same class as x, possibly with updated parameters.