SG++-Doxygen-Documentation
|
Sampling on all dimensions. More...
#include <OperationDensityRejectionSampling.hpp>
Public Member Functions | |
virtual void | doSampling (base::DataVector *alpha, base::DataMatrix *&samples, size_t num_samples, size_t trial_max)=0 |
Rejection sampling. More... | |
OperationDensityRejectionSampling () | |
virtual | ~OperationDensityRejectionSampling () |
Sampling on all dimensions.
|
inline |
|
inlinevirtual |
References alpha, doSampling(), and parabolasimple::samples.
|
pure virtual |
Rejection sampling.
alpha | Coefficient vector for current grid |
samples | Output DataMatrix (rows: # of samples, columns: # of dims) |
num_samples | # of samples to draw |
trial_max | maximum # of trials for drawing a sample (exceeding will cause operation to stop) |
Implemented in sgpp::datadriven::OperationDensityRejectionSamplingLinear.
Referenced by ~OperationDensityRejectionSampling().