This file contains general scheme for iteratively convergent algorithms.
Inline implementatioh of gum::ApproximationSettings.
double eps_
Threshold for convergence.
bool enabled_max_time_
If true, the timeout is enabled.
Size max_iter_
The maximum iterations.
bool enabled_eps_
If true, the threshold convergence is enabled.
ApproximationSchemeSTATE current_state_
The current state.
double min_rate_eps_
Threshold for the epsilon rate.
Size period_size_
Checking criteria frequency.
virtual ~ApproximationScheme()
bool enabled_max_iter_
If true, the maximum iterations stopping criterion is enabled.
double max_time_
The timeout.
ApproximationScheme(bool verbosity=false)
bool verbosity_
If true, verbosity is enabled.
bool verbosity() const override
Returns true if verbosity is enabled.
Size burn_in_
Number of iterations before checking stopping criteria.
bool enabled_min_rate_eps_
If true, the minimal threshold for epsilon rate is enabled.
ApproximationSchemeSTATE
The different state of an approximation scheme.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
gum is the global namespace for all aGrUM entities