Base class for computing bootstrap confidence level intervals. More...
#include <BootstrapCalculators.h>
Public Member Functions | |
BootstrapCalculator (const libMesh::ParallelObject &other, const std::string &name, const std::vector< Real > &levels, unsigned int replicates, unsigned int seed, StochasticTools::Calculator< InType, OutType > &calc) | |
virtual std::vector< OutType > | compute (const InType &, const bool)=0 |
const std::string & | name () const |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
Protected Member Functions | |
std::vector< OutType > | computeBootstrapEstimates (const InType &, const bool) |
Protected Attributes | |
const std::vector< Real > | _levels |
const unsigned int | _replicates |
const unsigned int | _seed |
StochasticTools::Calculator< InType, OutType > & | _calc |
const Parallel::Communicator & | _communicator |
Private Attributes | |
const std::string | _name |
Base class for computing bootstrap confidence level intervals.
These classes follow the same design pattern as those Statistics.h.
other | ParallelObject that is providing the Communicator |
levels | The bootstrap confidence level intervals to compute in range (0, 1) |
replicates | Number of bootstrap replicates to perform |
seed | Seed for random number generator |
Definition at line 51 of file BootstrapCalculators.h.
StochasticTools::BootstrapCalculator< InType, OutType >::BootstrapCalculator | ( | const libMesh::ParallelObject & | other, |
const std::string & | name, | ||
const std::vector< Real > & | levels, | ||
unsigned int | replicates, | ||
unsigned int | seed, | ||
StochasticTools::Calculator< InType, OutType > & | calc | ||
) |
Definition at line 135 of file BootstrapCalculators.h.
|
pure virtual |
|
protected |
Definition at line 157 of file BootstrapCalculators.h.
|
inline |
Definition at line 61 of file BootstrapCalculators.h.
|
protected |
Definition at line 77 of file BootstrapCalculators.h.
|
protected |
Definition at line 68 of file BootstrapCalculators.h.
|
private |
Definition at line 80 of file BootstrapCalculators.h.
Referenced by StochasticTools::BootstrapCalculator< std::vector< std::vector< InType > >, std::vector< std::vector< OutType > > >::name().
|
protected |
Definition at line 71 of file BootstrapCalculators.h.
|
protected |
Definition at line 74 of file BootstrapCalculators.h.