|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
#include <StatisticProgress.h>
Public Member Functions | |
| StatisticProgressReporter (bool enabled, std::size_t total, std::size_t probe_draws=5, std::size_t update_every=1, std::ostream &os=std::cout, std::string label="Monte-Carlo", std::string item_label="accepted", std::shared_ptr< StatisticProgressMonitor > monitor=nullptr, std::string phase="monte_carlo") | |
| void | accepted (std::size_t accepted_count, std::size_t attempts=0, std::size_t failures=0) |
| void | finish (std::size_t accepted_count, std::size_t attempts, std::size_t failures) |
Terminal MC progress reporter with measured ETA and optional GUI monitor.
Definition at line 44 of file StatisticProgress.h.
| StatisticProgressReporter::StatisticProgressReporter | ( | bool | enabled, |
| std::size_t | total, | ||
| std::size_t | probe_draws = 5, |
||
| std::size_t | update_every = 1, |
||
| std::ostream & | os = std::cout, |
||
| std::string | label = "Monte-Carlo", |
||
| std::string | item_label = "accepted", |
||
| std::shared_ptr< StatisticProgressMonitor > | monitor = nullptr, |
||
| std::string | phase = "monte_carlo" |
||
| ) |
Definition at line 50 of file StatisticProgress.cpp.
| void StatisticProgressReporter::accepted | ( | std::size_t | accepted_count, |
| std::size_t | attempts = 0, |
||
| std::size_t | failures = 0 |
||
| ) |
Definition at line 112 of file StatisticProgress.cpp.
| void StatisticProgressReporter::finish | ( | std::size_t | accepted_count, |
| std::size_t | attempts, | ||
| std::size_t | failures | ||
| ) |
Definition at line 128 of file StatisticProgress.cpp.