Debian Codegraph @

contrib/ms-sbvar/switch_dw/switching/dw_metropolis_theta_prior.h

raw
1 /*
2 * Copyright (C) 1996-2011 Daniel Waggoner and Tao Zha
3 *
4 * This free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * It is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * If you did not received a copy of the GNU General Public License
15 * with this software, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef __dw_metropolis_theta_prior__
19 #define __dw_metropolis_theta_prior__
20
21 #include "dw_matrix.h"
22 #include "dw_switch.h"
23
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28
29 PRECISION draw_metropolis_theta_prior(TStateModel *model, PRECISION logposterior_old);
30 void draw_prior_all_metropolis(TStateModel *model);
31 //void Draw_metropolis_theta_prior(TStateModel *model);
32 //void Draw_metropolis_theta_prior_single_block(int block, TStateModel *model);
33 void AdaptiveScale_metropolis_theta_prior(TStateModel *model, PRECISION mid, int period, int max_period, int verbose);
34 //void AdaptiveScale_metropolis_theta_prior_single_block(int block, TStateModel *model, PRECISION mid, int period, int max_period, int verbose);
35 int Calibrate_metropolis_theta_prior(TStateModel *model, PRECISION center, int period, int max_period, int verbose);
36 //int Calibrate_metropolis_theta_prior_single_direction(int idx, TStateModel *model, PRECISION center, int period, int max_period, int verbose);
37 //int Calibrate_metropolis_theta_prior_two_pass(TStateModel *model, PRECISION center_s, int period_s, int max_period_s, PRECISION center_a, int period_a, int max_period_a, int verbose);
38
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif