aGrUM  0.13.2
approximationScheme.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Pierre-Henri WUILLEMIN et Christophe GONZALES *
3  * {prenom.nom}_at_lip6.fr *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
20 
34 
35 namespace gum {
36 
38  _current_state(ApproximationSchemeSTATE::Undefined), _eps(5e-2),
39  _enabled_eps(true), _min_rate_eps(1e-2), _enabled_min_rate_eps(true),
40  _max_time(1.), _enabled_max_time(false), _max_iter((Size)10000),
41  _enabled_max_iter(true), _burn_in((Size)0), _period_size((Size)1),
42  _verbosity(v) {
43  GUM_CONSTRUCTOR(ApproximationScheme);
44  }
45 
47  GUM_DESTRUCTOR(ApproximationScheme);
48  }
49 
50 } // namespace gum
51 
52 #ifdef GUM_NO_INLINE
54 #endif
unsigned long Size
In aGrUM, hashed values are unsigned long int.
Definition: types.h:50
This file contains general scheme for iteratively convergent algorithms.
Approximation Scheme.
gum is the global namespace for all aGrUM entities
Definition: agrum.h:25
Inline implementatioh of gum::ApproximationSettings.
ApproximationSchemeSTATE
The different state of an approximation scheme.