vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Macros | Functions
sampler.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <vsmc/core/monitor.hpp>
#include <vsmc/core/particle.hpp>

Go to the source code of this file.

Classes

class  vsmc::Sampler< T >
 SMC Sampler. More...
 

Namespaces

 vsmc
 

Macros

#define VSMC_RUNTIME_ASSERT_CORE_SAMPLER_FUNCTOR(func, caller, name)
 
#define VSMC_RUNTIME_ASSERT_CORE_SAMPLER_MONITOR_NAME(iter, map, func)
 
#define VSMC_RUNTIME_WARNING_CORE_SAMPLER_INIT_BY_ITER
 

Functions

template<typename CharT , typename Traits , typename T >
std::basic_ostream< CharT, Traits > & vsmc::operator<< (std::basic_ostream< CharT, Traits > &os, const Sampler< T > &sampler)
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_CORE_SAMPLER_FUNCTOR (   func,
  caller,
  name 
)
Value:
VSMC_RUNTIME_ASSERT(static_cast<bool>(func), \
"**Sampler::" #caller "** INVALID " #name " OBJECT")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:53

Definition at line 43 of file sampler.hpp.

#define VSMC_RUNTIME_ASSERT_CORE_SAMPLER_MONITOR_NAME (   iter,
  map,
  func 
)
Value:
(iter != map.end()), "**Sampler::" #func "** INVALID MONITOR NAME")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:53

Definition at line 39 of file sampler.hpp.

#define VSMC_RUNTIME_WARNING_CORE_SAMPLER_INIT_BY_ITER
Value:
VSMC_RUNTIME_WARNING((!static_cast<bool>(init_)), \
"**Sampler::initialize** A VALID INIT OBJECT IS SET " \
"BUT INITILIALIZED BY ITERATING")
#define VSMC_RUNTIME_WARNING(cond, msg)
Definition: assert.hpp:75

Definition at line 47 of file sampler.hpp.