vSMC  v3.0.0
Scalable Monte Carlo
Functions
vsmc::Sampler

Functions

void vsmc_sampler_assign (vsmc_sampler sampler, vsmc_sampler other)
 vsmc::Sampler::operator= More...
 
vsmc_sampler vsmc_sampler_clone (vsmc_sampler sampler)
 vsmc::Sampler::clone More...
 
void vsmc_sampler_delete (vsmc_sampler *sampler_ptr)
 vsmc::Sampler::~Sampler More...
 
double vsmc_sampler_ess_history (vsmc_sampler sampler, size_t iter)
 vsmc::Sampler::ess_history More...
 
void vsmc_sampler_eval (vsmc_sampler sampler, vsmc_sampler_eval_type new_eval, vSMCSamplerStage stage, int append)
 vsmc::Sampler::eval More...
 
vsmc_monitor vsmc_sampler_get_monitor (vsmc_sampler sampler, const char *name)
 vsmc::Sampler::monitor More...
 
double vsmc_sampler_get_threshold (vsmc_sampler sampler)
 vsmc::Sampler::resample_threshold More...
 
void vsmc_sampler_initialize (vsmc_sampler sampler)
 vsmc::Sampler::initialize More...
 
size_t vsmc_sampler_iter_num (vsmc_sampler sampler)
 vsmc::Sampler::iter_num More...
 
size_t vsmc_sampler_iter_size (vsmc_sampler sampler)
 vsmc::Sampler::iter_size More...
 
void vsmc_sampler_iterate (vsmc_sampler sampler, size_t num)
 vsmc::Sampler::iterate More...
 
int vsmc_sampler_monitor_clear (vsmc_sampler sampler, const char *name)
 vsmc::Sampler::monitor_clear More...
 
void vsmc_sampler_monitor_clear_all (vsmc_sampler sampler)
 vsmc::Sampler::monitor_clear More...
 
vsmc_sampler vsmc_sampler_new (size_t n, size_t dim)
 vsmc::Sampler::Sampler More...
 
vsmc_particle vsmc_sampler_particle (vsmc_sampler sampler)
 vsmc::Sampler::particle More...
 
size_t vsmc_sampler_print (vsmc_sampler sampler, char *buf, char sepchar)
 vsmc::Sampler::print More...
 
void vsmc_sampler_print_f (vsmc_sampler sampler, const char *filename, char sepchar)
 vsmc::Sampler::print directly to an external file More...
 
void vsmc_sampler_read_ess_history (vsmc_sampler sampler, double *first)
 vsmc::Sampler::read_ess_history More...
 
void vsmc_sampler_read_resampled_history (vsmc_sampler sampler, int *first)
 vsmc::Sampler::read_resampled_history More...
 
void vsmc_sampler_read_size_history (vsmc_sampler sampler, size_t *first)
 vsmc::Sampler::read_size_history More...
 
void vsmc_sampler_resample_eval (vsmc_sampler sampler, vsmc_sampler_eval_type res_move, double threshold)
 vsmc::Sampler::resample_method More...
 
void vsmc_sampler_resample_scheme (vsmc_sampler sampler, vSMCResampleScheme scheme, double threshold)
 vsmc::Sampler::resample_method More...
 
double vsmc_sampler_resample_threshold_always (void)
 vsmc::Sampler::resample_threshold_always More...
 
double vsmc_sampler_resample_threshold_never (void)
 vsmc::Sampler::resample_threshold_never More...
 
int vsmc_sampler_resampled_history (vsmc_sampler sampler, size_t iter)
 vsmc::Sampler::resampled_history More...
 
void vsmc_sampler_reserve (vsmc_sampler sampler, size_t num)
 vsmc::Sampler::reserve More...
 
void vsmc_sampler_set_monitor (vsmc_sampler sampler, const char *name, vsmc_monitor mon)
 vsmc::Sampler::monitor More...
 
void vsmc_sampler_set_threshold (vsmc_sampler sampler, double threshold)
 vsmc::Sampler::resample_threshold More...
 
size_t vsmc_sampler_size (vsmc_sampler sampler)
 vsmc::Sampler::size More...
 
size_t vsmc_sampler_size_history (vsmc_sampler sampler, size_t iter)
 vsmc::Sampler::size_history More...
 
size_t vsmc_sampler_status_history (vsmc_sampler sampler, size_t iter, size_t id)
 vsmc::Sampler::status_history More...
 

Detailed Description

Function Documentation

void vsmc_sampler_assign ( vsmc_sampler  sampler,
vsmc_sampler  other 
)

vsmc::Sampler::operator=

vsmc_sampler vsmc_sampler_clone ( vsmc_sampler  sampler)
void vsmc_sampler_delete ( vsmc_sampler sampler_ptr)

vsmc::Sampler::~Sampler

double vsmc_sampler_ess_history ( vsmc_sampler  sampler,
size_t  iter 
)
void vsmc_sampler_eval ( vsmc_sampler  sampler,
vsmc_sampler_eval_type  new_eval,
vSMCSamplerStage  stage,
int  append 
)
vsmc_monitor vsmc_sampler_get_monitor ( vsmc_sampler  sampler,
const char *  name 
)
double vsmc_sampler_get_threshold ( vsmc_sampler  sampler)
void vsmc_sampler_initialize ( vsmc_sampler  sampler)
size_t vsmc_sampler_iter_num ( vsmc_sampler  sampler)
size_t vsmc_sampler_iter_size ( vsmc_sampler  sampler)
void vsmc_sampler_iterate ( vsmc_sampler  sampler,
size_t  num 
)
int vsmc_sampler_monitor_clear ( vsmc_sampler  sampler,
const char *  name 
)
void vsmc_sampler_monitor_clear_all ( vsmc_sampler  sampler)
vsmc_sampler vsmc_sampler_new ( size_t  n,
size_t  dim 
)
vsmc_particle vsmc_sampler_particle ( vsmc_sampler  sampler)
size_t vsmc_sampler_print ( vsmc_sampler  sampler,
char *  buf,
char  sepchar 
)
void vsmc_sampler_print_f ( vsmc_sampler  sampler,
const char *  filename,
char  sepchar 
)

vsmc::Sampler::print directly to an external file

void vsmc_sampler_read_ess_history ( vsmc_sampler  sampler,
double *  first 
)
void vsmc_sampler_read_resampled_history ( vsmc_sampler  sampler,
int *  first 
)
void vsmc_sampler_read_size_history ( vsmc_sampler  sampler,
size_t *  first 
)
void vsmc_sampler_resample_eval ( vsmc_sampler  sampler,
vsmc_sampler_eval_type  res_move,
double  threshold 
)
void vsmc_sampler_resample_scheme ( vsmc_sampler  sampler,
vSMCResampleScheme  scheme,
double  threshold 
)
double vsmc_sampler_resample_threshold_always ( void  )
double vsmc_sampler_resample_threshold_never ( void  )
int vsmc_sampler_resampled_history ( vsmc_sampler  sampler,
size_t  iter 
)
void vsmc_sampler_reserve ( vsmc_sampler  sampler,
size_t  num 
)
void vsmc_sampler_set_monitor ( vsmc_sampler  sampler,
const char *  name,
vsmc_monitor  mon 
)
void vsmc_sampler_set_threshold ( vsmc_sampler  sampler,
double  threshold 
)
size_t vsmc_sampler_size ( vsmc_sampler  sampler)
size_t vsmc_sampler_size_history ( vsmc_sampler  sampler,
size_t  iter 
)
size_t vsmc_sampler_status_history ( vsmc_sampler  sampler,
size_t  iter,
size_t  id 
)