Monte Carlo Integration Library 1.0
High-performance Monte Carlo methods for numerical integration and optimization
Public Attributes | List of all members
mc::estimators::VolumeEstimate< dim > Struct Template Reference

Result of Monte Carlo volume estimation. More...

#include <VolumeEstimatorMC.hpp>

Collaboration diagram for mc::estimators::VolumeEstimate< dim >:

Public Attributes

double volume = 0.0
 Estimated domain volume: V̂ = V_box · p̂
 
double stderr = 0.0
 Standard error in the volume estimate.
 
double inside_ratio = 0.0
 Fraction of samples inside domain: p̂ = N_hits / N_total.
 
std::size_t n_samples = 0
 Total number of samples evaluated.
 

Detailed Description

template<std::size_t dim>
struct mc::estimators::VolumeEstimate< dim >

Result of Monte Carlo volume estimation.

Template Parameters
dimDimensionality of the domain.

Definition at line 39 of file VolumeEstimatorMC.hpp.

Member Data Documentation

◆ inside_ratio

template<std::size_t dim>
double mc::estimators::VolumeEstimate< dim >::inside_ratio = 0.0

Fraction of samples inside domain: p̂ = N_hits / N_total.

Definition at line 45 of file VolumeEstimatorMC.hpp.

◆ n_samples

template<std::size_t dim>
std::size_t mc::estimators::VolumeEstimate< dim >::n_samples = 0

Total number of samples evaluated.

Definition at line 47 of file VolumeEstimatorMC.hpp.

◆ stderr

template<std::size_t dim>
double mc::estimators::VolumeEstimate< dim >::stderr = 0.0

Standard error in the volume estimate.

Definition at line 43 of file VolumeEstimatorMC.hpp.

◆ volume

template<std::size_t dim>
double mc::estimators::VolumeEstimate< dim >::volume = 0.0

Estimated domain volume: V̂ = V_box · p̂

Definition at line 41 of file VolumeEstimatorMC.hpp.


The documentation for this struct was generated from the following file: