Montecarlo simulation for experiments in 1D.
Template arguments are:
HOW TO USE THIS CLASS:
Definition at line 57 of file CMonteCarlo.h.
#include <mrpt/math/CMonteCarlo.h>
Classes | |
class | CStatisticalAnalyzer |
Public Member Functions | |
CMonteCarlo () | |
NUM | doExperiment (size_t N, double &time, bool showInWindow=false) |
Public Attributes | |
T(* | valueGenerator )(mrpt::random::CRandomGenerator &) |
NUM(* | errorFun1 )(const T &) |
OTHER(* | intermediateFun )(const T &) |
NUM(* | errorFun2 )(const T &, const OTHER &) |
Private Attributes | |
mrpt::random::CRandomGenerator | gen |
mrpt::math::CMonteCarlo< T, NUM, OTHER >::CMonteCarlo | ( | ) | [inline] |
Definition at line 94 of file CMonteCarlo.h.
NUM mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment | ( | size_t | N, | |
double & | time, | |||
bool | showInWindow = false | |||
) | [inline] |
Definition at line 95 of file CMonteCarlo.h.
References mrpt::math::CMonteCarlo< T, NUM, OTHER >::errorFun1, mrpt::math::CMonteCarlo< T, NUM, OTHER >::errorFun2, mrpt::math::CMonteCarlo< T, NUM, OTHER >::gen, mrpt::math::CMonteCarlo< T, NUM, OTHER >::intermediateFun, mrpt::utils::CTicTac::Tac(), mrpt::utils::CTicTac::Tic(), and mrpt::math::CMonteCarlo< T, NUM, OTHER >::valueGenerator.
NUM(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::errorFun1)(const T &) |
Definition at line 90 of file CMonteCarlo.h.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment().
NUM(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::errorFun2)(const T &, const OTHER &) |
Definition at line 93 of file CMonteCarlo.h.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment().
mrpt::random::CRandomGenerator mrpt::math::CMonteCarlo< T, NUM, OTHER >::gen [private] |
Definition at line 59 of file CMonteCarlo.h.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment().
OTHER(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::intermediateFun)(const T &) |
Definition at line 92 of file CMonteCarlo.h.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment().
T(* mrpt::math::CMonteCarlo< T, NUM, OTHER >::valueGenerator)(mrpt::random::CRandomGenerator &) |
Definition at line 88 of file CMonteCarlo.h.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment().
Page generated by Doxygen 1.7.1 for MRPT 0.9.4 SVN: at Mon Jan 10 23:33:19 UTC 2011 |