24#ifndef LALInferenceNestedSampler_h
25#define LALInferenceNestedSampler_h
27#include <lal/LALInference.h>
INT4(* LALInferenceEvolveOneStepFunction)(struct tagLALInferenceRunState *runState)
Perform one step of an algorithm, replaces runState ->currentParams.
void LALInferenceNestedSamplingAlgorithm(LALInferenceRunState *runState)
NestedSamplingAlgorithm implements the nested sampling algorithm, see e.g.
INT4 LALInferenceNestedSamplingOneStep(LALInferenceRunState *runState)
A single iteration of the NS algorithm.
void LALInferenceSetupLivePointsArray(LALInferenceRunState *runState)
Setup the live points by calling runState->initVariables on each of them if it is specified.
LALInferenceVariables * LALInferenceComputeAutoCorrelation(LALInferenceRunState *runState, UINT4 max_iterations, LALInferenceEvolveOneStepFunction evolve)
Compute the autocorrelation length from the sampler at the current global iteration.
INT4 LALInferenceNestedSamplingSloppySample(LALInferenceRunState *runState)
Sample the limited prior distribution using the MCMC method as usual, but run a sub-chain of x iterat...
INT4 LALInferenceNestedSamplingCachedSampler(LALInferenceRunState *runState)
void LALInferenceNestedSamplingAlgorithmInit(LALInferenceRunState *runState)
Initialise the nested sampling algorithm by reading from the commandLine and setting up algorithmPara...
UINT4 LALInferenceMCMCSamplePriorNTimes(LALInferenceRunState *runState, UINT4 N)
Sample the prior N times, returns number of acceptances.
void LALInferenceProjectSampleOntoEigenvectors(LALInferenceVariables *params, gsl_matrix *eigenvectors, REAL8Vector **projection)
Project the sample in params onto the eigenvectors given in eigenvectors.
UINT4 LALInferenceMCMCSamplePrior(LALInferenceRunState *runState)
Perform one MCMC iteration on runState->currentParams.
Structure containing inference run state This includes pointers to the function types required to run...
The LALInferenceVariables structure to contain a set of parameters Implemented as a linked list of LA...