![]() |
Dakota
Version 6.15
Explore and Predict with Confidence
|
Bootstrap sampler that is specialized to allow for the boostrapping of RealMatrix. More...
Public Types | |
typedef Teuchos::SerialDenseMatrix < OrdinalType, ScalarType > | MatType |
Convenience definition. | |
Public Member Functions | |
BootstrapSampler (const MatType &orig_data, size_t block_size=1) | |
Constructor for the sampler. | |
virtual | ~BootstrapSampler () |
Destructor. | |
virtual void | operator() (size_t num_samp, MatType &bootstrapped_sample) |
Generate and store a new boostrapped sample into bootstrapped_sample. | |
![]() | |
BootstrapSamplerBase (size_t data_size, Teuchos::SerialDenseMatrix< OrdinalType, ScalarType >orig_data) | |
Constructor for the bootstrap functor base. | |
virtual | ~BootstrapSamplerBase () |
Destructor. | |
virtual void | operator() (Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > &bootstrapped_sample) |
Generate and store an dataSize out of dataSize boostrap sample. | |
virtual Teuchos::SerialDenseMatrix < OrdinalType, ScalarType > | operator() () |
Return boostrapped sample. | |
virtual size_t | getDataSize () |
Obatin the number of samples used in the empirical distribution. | |
Protected Attributes | |
size_t | blockSize |
Size of the block defining a sample. | |
![]() | |
boost::random::uniform_int_distribution | sampler |
Uniform distribution to provide samples from the empirical distribution. | |
const size_t | dataSize |
Size of the dataset defining the empirical distribution. | |
Teuchos::SerialDenseMatrix < OrdinalType, ScalarType > | origData |
Original data defining the empirical distribution TODO: Consider if it should be const (breaks Teuchos) | |
Additional Inherited Members | |
![]() | |
static void | set_seed (size_t seed) |
![]() | |
static boost::random::mt19937 | bootstrapRNG |
Random number generator to use for sampling. | |
Bootstrap sampler that is specialized to allow for the boostrapping of RealMatrix.