2 //////////////////////////////////////////////////////////////////////////////////
3 // This program is free software: you can redistribute it and/or modify //
4 // it under the terms of the version 3 of the GNU General Public License //
5 // as published by the Free Software Foundation. //
7 // This program is distributed in the hope that it will be useful, but //
8 // WITHOUT ANY WARRANTY; without even the implied warranty of //
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
10 // General Public License for more details. //
12 // You should have received a copy of the GNU General Public License //
13 // along with this program. If not, see <http://www.gnu.org/licenses/>. //
15 // Written by Francois Fleuret //
16 // (C) Ecole Polytechnique Federale de Lausanne //
17 // Contact <pom@epfl.ch> for comments & bug reports //
18 //////////////////////////////////////////////////////////////////////////////////
25 // We used the same prior at every location, but POMSolver::solve
26 // takes as parameter a vector of priors if you want
27 extern scalar_t global_prior;
29 // The parameters of the Normal law for the conditional image density,
30 // given the true state. Mu does not appear in the paper, sigma does.
31 extern scalar_t global_mu_image_density;
32 extern scalar_t global_sigma_image_density;
34 // When we iterate the solver, we smooth the estimate to prevent from
35 // oscillating effects that tend to appear naturally
36 extern scalar_t global_smoothing_coefficient;
38 // Ugly parameters for defining the convergence of the solver. I guess
39 // there are far better ways to do
41 // Hard bound on the number of iterations
42 extern int global_max_nb_solver_iterations;
44 // What error is considered acceptable
45 extern scalar_t global_error_max;
47 // How many steps under the global_error_max defines convergence
48 extern int global_nb_stable_error_for_convergence;
50 // If the probability of absence is greated than that, ignore the
51 // avatar in the computation of the average image to save computation
52 extern scalar_t global_proba_ignored;