vSMC
vSMC: Scalable Monte Carlo
|
An empty weight set class. More...
#include <vsmc/core/weight_set.hpp>
Public Types | |
typedef std::size_t | size_type |
Public Member Functions | |
WeightSetNull (size_type) | |
template<typename InputIter > | |
void | add_log_weight (InputIter) |
template<typename RandomIter > | |
void | add_log_weight (RandomIter, int) |
template<typename InputIter > | |
double | cess (InputIter, bool) const |
template<typename RandomIter > | |
double | cess (RandomIter, int, bool) const |
template<typename URNG > | |
size_type | draw (URNG &) const |
double | ess () const |
template<typename InputIter > | |
double | ess (InputIter, bool) const |
template<typename RandomIter > | |
double | ess (RandomIter, int, bool) const |
double | log_weight (size_type) const |
template<typename InputIter > | |
void | mul_weight (InputIter) |
template<typename RandomIter > | |
void | mul_weight (RandomIter, int) |
template<typename OutputIter > | |
void | read_log_weight (OutputIter) const |
template<typename RandomIter > | |
void | read_log_weight (RandomIter, int) const |
void | read_resample_weight (double *) const |
template<typename OutputIter > | |
void | read_weight (OutputIter) const |
template<typename RandomIter > | |
void | read_weight (RandomIter, int) const |
size_type | resample_size () const |
void | set_equal_weight () |
template<typename InputIter > | |
void | set_log_weight (InputIter) |
template<typename RandomIter > | |
void | set_log_weight (RandomIter, int) |
template<typename InputIter > | |
void | set_weight (InputIter) |
template<typename RandomIter > | |
void | set_weight (RandomIter, int) |
size_type | size () const |
double | weight (size_type) const |
An empty weight set class.
This class provides all the interfaces of WeightSet, while they do nothing at all and the class cost no memory usage. This is primarily to be used in algorithms where weights are irrelevant. Any attempt of using member functions of this class will not result in compile time or runtime errors, but the results might not be what one will be expecting.
Definition at line 449 of file weight_set.hpp.
typedef std::size_t vsmc::WeightSetNull::size_type |
Definition at line 453 of file weight_set.hpp.
|
inlineexplicit |
Definition at line 455 of file weight_set.hpp.
|
inline |
Definition at line 514 of file weight_set.hpp.
|
inline |
Definition at line 517 of file weight_set.hpp.
|
inline |
Definition at line 468 of file weight_set.hpp.
|
inline |
Definition at line 471 of file weight_set.hpp.
|
inline |
Definition at line 520 of file weight_set.hpp.
|
inline |
Definition at line 459 of file weight_set.hpp.
|
inline |
Definition at line 462 of file weight_set.hpp.
|
inline |
Definition at line 465 of file weight_set.hpp.
|
inline |
Definition at line 491 of file weight_set.hpp.
|
inline |
Definition at line 502 of file weight_set.hpp.
|
inline |
Definition at line 505 of file weight_set.hpp.
|
inline |
Definition at line 484 of file weight_set.hpp.
|
inline |
Definition at line 487 of file weight_set.hpp.
|
inline |
Definition at line 475 of file weight_set.hpp.
|
inline |
Definition at line 478 of file weight_set.hpp.
|
inline |
Definition at line 481 of file weight_set.hpp.
|
inline |
Definition at line 473 of file weight_set.hpp.
|
inline |
Definition at line 493 of file weight_set.hpp.
|
inline |
Definition at line 508 of file weight_set.hpp.
|
inline |
Definition at line 511 of file weight_set.hpp.
|
inline |
Definition at line 496 of file weight_set.hpp.
|
inline |
Definition at line 499 of file weight_set.hpp.
|
inline |
Definition at line 457 of file weight_set.hpp.
|
inline |
Definition at line 489 of file weight_set.hpp.