Description not yet available. More...
#include <admodel.h>
Public Member Functions | |
initial_params (void) | |
Default constructor. | |
virtual void | add_to_list (void) |
virtual void | add_value (const dvector &, const int &)=0 |
virtual void | add_value (const dvector &, const dvector &, const int &, const double &, const dvector &)=0 |
void | allocate (int _phase_start) |
virtual void | bsave_value (uostream &uos)=0 |
virtual void | copy_value_to_vector (const dvector &, const int &)=0 |
virtual void | curv_scale (const dvector &d, const dvector &x, const int &ii)=0 |
virtual void | dev_correction (const dmatrix &, const int &)=0 |
double | get_initial_value (void) |
virtual void | get_jacobian (const dvector &, const dvector &, const int &)=0 |
int | get_phase_start (void) |
double | get_scalefactor () |
virtual void | hess_scale (const dvector &d, const dvector &x, const int &ii)=0 |
virtual const char * | label ()=0 |
virtual void | mc_scale (const dvector &d, const dvector &x, const int &ii)=0 |
virtual void | pvm_pack (void)=0 |
virtual void | pvm_unpack (void)=0 |
void | restore_phase_start (void) |
virtual void | restore_value (const ifstream &ifs)=0 |
virtual void | restore_value_from_vector (const dvector &, const int &)=0 |
virtual void | save_value (ofstream &ofs)=0 |
virtual void | save_value (const ofstream &ofs, int prec)=0 |
virtual void | save_value (const ofstream &ofs, int prec, const dvector &, int &offset)=0 |
virtual void | sd_scale (const dvector &d, const dvector &x, const int &ii)=0 |
virtual void | sd_vscale (const dvar_vector &d, const dvar_vector &x, const int &ii)=0 |
void | set_active_flag (void) |
void | set_inactive_flag (void) |
void | set_initial_value (double x) |
virtual void | set_only_random_effects_active () |
virtual void | set_only_random_effects_inactive () |
void | set_phase_start (int x) |
virtual void | set_random_effects_active () |
virtual void | set_random_effects_inactive () |
void | set_scalefactor (const double) |
virtual void | set_simulation_bounds (const dmatrix &symbds, const int &ii)=0 |
virtual void | set_value (const dvar_vector &, const int &, const dvariable &pen)=0 |
virtual void | set_value_inv (const dvector &, const int &)=0 |
virtual void | setshare (const index_type &sf, const index_type &af) |
virtual void | shared_set_value (const dvar_vector &, const int &, const dvariable &pen) |
virtual void | shared_set_value_inv (const dvector &, const int &) |
virtual int | shared_size_count (void) |
virtual int | size_count (void)=0 |
Static Public Member Functions | |
static void | add_random_vector (const dvector &x) |
static void | add_random_vector (const dvector &y, const dvector &x, const double &ll, const dvector &diag) |
static void | copy_all_values (const dvector &x, const int &ii) |
static int | correct_for_dev_objects (const dmatrix &H) |
static void | get_jacobian_value (const dvector &y, const dvector &jac) |
static adstring | get_reportfile_name (void) |
static int | montecarlo_scale (const dvector &d, const dvector &x) |
Description not yet available. | |
static int | num_active_calc (void) |
static int | nvarcalc () |
static int | nvarcalc_all (void) |
Description not yet available. | |
static void | read (void) |
static dvariable | reset (const dvar_vector &x) |
static dvariable | reset (const dvector &x) |
static dvariable | reset (const dvar_vector &x, const dvector &pen) |
static dvariable | reset1 (const dvar_vector &x, const dvector &g) |
static dvariable | reset_all (const dvar_vector &x, const dvector &pen) |
Description not yet available. | |
static void | restore (const ifstream &ifs) |
static void | restore_all_values (const dvector &x, const int &ii) |
static void | restore_start_phase (void) |
static void | save (void) |
static void | save (const ofstream &ofs, int prec) |
static void | save_all (const ofstream &_ofs, int prec, const dvector &g) |
static void | set_active_only_random_effects (void) |
static void | set_active_random_effects (void) |
static void | set_all_simulation_bounds (const dmatrix &symbds) |
static void | set_all_simulation_bounds (const dmatrix &symbds, const dvector &) |
static void | set_inactive_only_random_effects (void) |
static void | set_inactive_random_effects (void) |
static int | stddev_curvscale (const dvector &d, const dvector &x) |
static int | stddev_scale (const dvector &d, const dvector &x) |
static int | stddev_vscale (const dvar_vector &d, const dvar_vector &x) |
static void | xinit (const dvector &x) |
static void | xinit1 (const dvector &x, const dvector &g) |
static void | xinit_all (const dvector &x) |
Description not yet available. | |
Public Attributes | |
int | phase_save |
int | phase_start |
int | phase_stop |
Static Public Attributes | |
static int | current_phase = 1 |
static const int | max_num_initial_params = 250 |
static int | max_number_phases = 1 |
static int | mc_phase = 0 |
static int | mceval_phase = 0 |
static int | num_active_initial_params |
static int | num_initial_params = 0 |
static int | restart_phase = 0 |
static int | sd_phase = 0 |
static int | straight_through_flag = 0 |
static adlist_ptr | varsptr |
Protected Member Functions | |
virtual | ~initial_params () |
Destructor. | |
Protected Attributes | |
int | active_flag |
double | initial_value |
int | initial_value_flag |
double | scalefactor |
shareinfo * | share_flags |
Friends | |
int | active (const initial_params &ip) |
class | function_minimizer |
initial_params::~initial_params | ( | ) | [protected, virtual] |
initial_params::initial_params | ( | void | ) |
void initial_params::add_random_vector | ( | const dvector & | x | ) | [static] |
Definition at line 9 of file mod_mc1.cpp.
Referenced by function_minimizer::mcmc_routine(), and function_minimizer::monte_carlo_routine().
void initial_params::add_random_vector | ( | const dvector & | y, |
const dvector & | x, | ||
const double & | ll, | ||
const dvector & | diag | ||
) | [static] |
Definition at line 11 of file mod_mc3.cpp.
void initial_params::add_to_list | ( | void | ) | [virtual] |
Definition at line 136 of file model.cpp.
Referenced by allocate().
virtual void initial_params::add_value | ( | const dvector & | , |
const int & | |||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by add_random_vector().
virtual void initial_params::add_value | ( | const dvector & | , |
const dvector & | , | ||
const int & | , | ||
const double & | , | ||
const dvector & | |||
) | [pure virtual] |
void initial_params::allocate | ( | int | _phase_start | ) |
Definition at line 124 of file model.cpp.
Referenced by dll_param_init_number::allocate().
virtual void initial_params::bsave_value | ( | uostream & | uos | ) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by save().
void initial_params::copy_all_values | ( | const dvector & | x, |
const int & | ii | ||
) | [static] |
Definition at line 9 of file model3.cpp.
Referenced by function_minimizer::hybrid_mcmc_routine(), function_minimizer::likeprof_routine(), function_minimizer::mcmc_routine(), function_minimizer::monte_carlo_routine(), and function_minimizer::sd_routine().
virtual void initial_params::copy_value_to_vector | ( | const dvector & | , |
const int & | |||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by copy_all_values().
int initial_params::correct_for_dev_objects | ( | const dmatrix & | H | ) | [static] |
virtual void initial_params::curv_scale | ( | const dvector & | d, |
const dvector & | x, | ||
const int & | ii | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by stddev_curvscale().
virtual void initial_params::dev_correction | ( | const dmatrix & | , |
const int & | |||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_number, param_init_bounded_dev_vector, param_init_bounded_vector, and param_init_vector.
Referenced by correct_for_dev_objects().
double initial_params::get_initial_value | ( | void | ) |
virtual void initial_params::get_jacobian | ( | const dvector & | , |
const dvector & | , | ||
const int & | |||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by get_jacobian_value().
void initial_params::get_jacobian_value | ( | const dvector & | y, |
const dvector & | jac | ||
) | [static] |
Definition at line 23 of file mod_mc3.cpp.
int initial_params::get_phase_start | ( | void | ) |
adstring initial_params::get_reportfile_name | ( | void | ) | [static] |
double initial_params::get_scalefactor | ( | void | ) |
virtual void initial_params::hess_scale | ( | const dvector & | d, |
const dvector & | x, | ||
const int & | ii | ||
) | [pure virtual] |
virtual const char* initial_params::label | ( | ) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
virtual void initial_params::mc_scale | ( | const dvector & | d, |
const dvector & | x, | ||
const int & | ii | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by montecarlo_scale().
int initial_params::montecarlo_scale | ( | const dvector & | d, |
const dvector & | x | ||
) | [static] |
Description not yet available.
Definition at line 21 of file mc_scale.cpp.
Referenced by function_minimizer::monte_carlo_routine().
int initial_params::num_active_calc | ( | void | ) | [static] |
Definition at line 196 of file model.cpp.
Referenced by function_minimizer::sd_routine().
int initial_params::nvarcalc | ( | ) | [static] |
Definition at line 171 of file model.cpp.
Referenced by calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), laplace_approximation_calculator::default_calculations(), function_minimizer::dep_hess_routine(), function_minimizer::depvars_routine(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), laplace_approximation_calculator::do_one_feval(), evaluate_function(), evaluate_function_gradient(), evaluate_function_no_derivatives(), evaluate_function_quiet(), evaluate_function_with_quadprior(), fmmt1::fmin2(), function_minimizer::hess_determinant(), function_minimizer::hess_inv(), function_minimizer::hess_routine_and_constraint(), function_minimizer::hess_routine_noparallel(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::hess_routine_slave_random_effects(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::likeprof_routine(), function_minimizer::limited_memory_quasi_newton(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::mcmc_eval(), function_minimizer::mcmc_routine(), function_minimizer::minimize(), function_minimizer::monte_carlo_routine(), function_minimizer::normalize_posterior_distribution(), function_minimizer::prof_minimize(), function_minimizer::prof_minimize_re(), function_minimizer::projected_hess_determinant(), function_minimizer::quasi_newton_block(), save(), function_minimizer::sd_routine(), function_minimizer::trust_region_update(), and function_minimizer::unrestricted_hess_determinant().
int initial_params::nvarcalc_all | ( | void | ) | [static] |
Description not yet available.
Definition at line 17 of file nvarcall.cpp.
Referenced by laplace_approximation_calculator::do_one_feval(), laplace_approximation_calculator::get_hessian_components_banded_lme(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), and function_minimizer::trust_region_update().
virtual void initial_params::pvm_pack | ( | void | ) | [pure virtual] |
virtual void initial_params::pvm_unpack | ( | void | ) | [pure virtual] |
static void initial_params::read | ( | void | ) | [static] |
dvariable initial_params::reset | ( | const dvar_vector & | x | ) | [static] |
Definition at line 364 of file model.cpp.
Referenced by function_minimizer::adamoeba(), function_minimizer::amxxx(), laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::banded_calculations_lme(), laplace_approximation_calculator::block_diagonal_calculations(), calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), function_minimizer::dep_hess_routine(), function_minimizer::depvars_routine(), do_evaluation(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), laplace_approximation_calculator::do_one_feval(), evaluate_function(), evaluate_function_gradient(), evaluate_function_no_derivatives(), evaluate_function_quiet(), evaluate_function_with_quadprior(), laplace_approximation_calculator::get_fx_fu(), laplace_approximation_calculator::get_gradient_lme(), laplace_approximation_calculator::get_gradient_lme_hp(), laplace_approximation_calculator::get_hessian_from_components_lme(), function_minimizer::get_hybrid_monte_carlo_value(), function_minimizer::get_monte_carlo_value(), function_minimizer::get_particular_grad(), laplace_approximation_calculator::get_uhat_lm_newton2(), laplace_approximation_calculator::get_uhat_quasi_newton(), laplace_approximation_calculator::get_uhat_quasi_newton_block_diagonal(), function_minimizer::hess_routine_and_constraint(), function_minimizer::hess_routine_noparallel(), function_minimizer::hess_routine_slave_random_effects(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::limited_memory_quasi_newton(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::mcmc_routine(), function_minimizer::minimize(), function_minimizer::neldmead(), function_minimizer::prof_minimize(), function_minimizer::prof_minimize_re(), function_minimizer::pvm_master_get_monte_carlo_value(), function_minimizer::pvm_slave_get_monte_carlo_value(), function_minimizer::quasi_newton_block(), function_minimizer::set_initial_simplex(), and laplace_approximation_calculator::test_trust_region_method().
dvariable initial_params::reset | ( | const dvector & | x | ) | [static] |
dvariable initial_params::reset | ( | const dvar_vector & | x, |
const dvector & | pen | ||
) | [static] |
dvariable initial_params::reset1 | ( | const dvar_vector & | x, |
const dvector & | g | ||
) | [static] |
dvariable initial_params::reset_all | ( | const dvar_vector & | x, |
const dvector & | __pen | ||
) | [static] |
void initial_params::restore | ( | const ifstream & | ifs | ) | [static] |
Definition at line 9 of file model13.cpp.
void initial_params::restore_all_values | ( | const dvector & | x, |
const int & | ii | ||
) | [static] |
Definition at line 95 of file model3.cpp.
Referenced by function_minimizer::hybrid_mcmc_routine(), function_minimizer::likeprof_routine(), function_minimizer::mcmc_eval(), function_minimizer::mcmc_routine(), and function_minimizer::monte_carlo_routine().
void initial_params::restore_phase_start | ( | void | ) |
Definition at line 302 of file model.cpp.
Referenced by restore_start_phase().
void initial_params::restore_start_phase | ( | void | ) | [static] |
Definition at line 294 of file model.cpp.
Referenced by function_minimizer::depvars_routine(), laplace_approximation_calculator::get_gradient_lme_hp(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::mcmc_routine(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), function_minimizer::sd_routine(), and function_minimizer::trust_region_update().
virtual void initial_params::restore_value | ( | const ifstream & | ifs | ) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by restore().
virtual void initial_params::restore_value_from_vector | ( | const dvector & | , |
const int & | |||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by restore_all_values().
void initial_params::save | ( | void | ) | [static] |
Definition at line 401 of file model.cpp.
Referenced by function_minimizer::minimize().
void initial_params::save | ( | const ofstream & | ofs, |
int | prec | ||
) | [static] |
Definition at line 9 of file model12.cpp.
void initial_params::save_all | ( | const ofstream & | _ofs, |
int | prec, | ||
const dvector & | g | ||
) | [static] |
Definition at line 86 of file model12.cpp.
virtual void initial_params::save_value | ( | ofstream & | ofs | ) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by save(), and save_all().
virtual void initial_params::save_value | ( | const ofstream & | ofs, |
int | prec | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_number, param_init_bounded_vector, and param_init_vector.
virtual void initial_params::save_value | ( | const ofstream & | ofs, |
int | prec, | ||
const dvector & | , | ||
int & | offset | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_number, param_init_bounded_vector, and param_init_vector.
virtual void initial_params::sd_scale | ( | const dvector & | d, |
const dvector & | x, | ||
const int & | ii | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by stddev_scale().
virtual void initial_params::sd_vscale | ( | const dvar_vector & | d, |
const dvar_vector & | x, | ||
const int & | ii | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by stddev_vscale().
void initial_params::set_active_flag | ( | void | ) |
void initial_params::set_active_only_random_effects | ( | void | ) | [static] |
Definition at line 270 of file model.cpp.
Referenced by laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::banded_calculations_lme(), laplace_approximation_calculator::block_diagonal_calculations(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), and function_minimizer::trust_region_update().
void initial_params::set_active_random_effects | ( | void | ) | [static] |
Definition at line 286 of file model.cpp.
Referenced by calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), laplace_approximation_calculator::default_calculations(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), laplace_approximation_calculator::do_one_feval(), laplace_approximation_calculator::get_fx_fu(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::mcmc_eval(), function_minimizer::mcmc_routine(), and function_minimizer::sd_routine().
void initial_params::set_all_simulation_bounds | ( | const dmatrix & | symbds | ) | [static] |
Definition at line 25 of file montebds.cpp.
Referenced by function_minimizer::mcmc_routine().
static void initial_params::set_all_simulation_bounds | ( | const dmatrix & | symbds, |
const dvector & | |||
) | [static] |
void initial_params::set_inactive_flag | ( | void | ) |
void initial_params::set_inactive_only_random_effects | ( | void | ) | [static] |
Definition at line 278 of file model.cpp.
Referenced by laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::banded_calculations_lme(), laplace_approximation_calculator::block_diagonal_calculations(), calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), laplace_approximation_calculator::get_fx_fu(), laplace_approximation_calculator::get_hessian_from_components_lme(), function_minimizer::hess_inv(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::hess_routine_slave_random_effects(), function_minimizer::likeprof_routine(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::minimize(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), and laplace_approximation_calculator::test_trust_region_method().
void initial_params::set_inactive_random_effects | ( | void | ) | [static] |
Definition at line 307 of file model.cpp.
Referenced by function_minimizer::depvars_routine(), laplace_approximation_calculator::get_gradient_lme_hp(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::mcmc_routine(), function_minimizer::minimize(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), and function_minimizer::trust_region_update().
void initial_params::set_initial_value | ( | double | x | ) |
Definition at line 97 of file model.cpp.
Referenced by param_init_vector_vector::allocate(), param_init_bounded_vector_vector::allocate(), param_init_matrix_vector::allocate(), param_init_bounded_matrix_vector::allocate(), param_init_number_vector::allocate(), and param_init_bounded_number_vector::allocate().
void initial_params::set_only_random_effects_active | ( | void | ) | [virtual] |
Reimplemented in random_effects_bounded_matrix, random_effects_matrix, random_effects_bounded_vector, random_effects_vector, random_effects_bounded_number, and random_effects_number.
Definition at line 1243 of file model.cpp.
Referenced by set_active_only_random_effects().
void initial_params::set_only_random_effects_inactive | ( | void | ) | [virtual] |
Reimplemented in random_effects_bounded_matrix, random_effects_matrix, random_effects_bounded_vector, random_effects_vector, random_effects_bounded_number, and random_effects_number.
Definition at line 1249 of file model.cpp.
Referenced by set_inactive_only_random_effects().
void initial_params::set_phase_start | ( | int | x | ) |
void initial_params::set_random_effects_active | ( | void | ) | [virtual] |
Reimplemented in random_effects_bounded_matrix, random_effects_matrix, random_effects_bounded_vector, random_effects_vector, random_effects_bounded_number, and random_effects_number.
Definition at line 1253 of file model.cpp.
Referenced by set_active_random_effects().
void initial_params::set_random_effects_inactive | ( | void | ) | [virtual] |
Reimplemented in random_effects_bounded_matrix, random_effects_matrix, random_effects_bounded_vector, random_effects_vector, random_effects_bounded_number, and random_effects_number.
Definition at line 1255 of file model.cpp.
Referenced by set_inactive_random_effects().
void initial_params::set_scalefactor | ( | const double | sf | ) |
virtual void initial_params::set_simulation_bounds | ( | const dmatrix & | symbds, |
const int & | ii | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by set_all_simulation_bounds().
virtual void initial_params::set_value | ( | const dvar_vector & | , |
const int & | , | ||
const dvariable & | pen | ||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_dev_vector, param_init_bounded_vector, and param_init_vector.
Referenced by reset(), reset1(), and reset_all().
virtual void initial_params::set_value_inv | ( | const dvector & | , |
const int & | |||
) | [pure virtual] |
Implemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, param_init_bounded_number, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by xinit(), xinit1(), and xinit_all().
void initial_params::setshare | ( | const index_type & | sf, |
const index_type & | af | ||
) | [virtual] |
Reimplemented in param_init_d3array, param_init_matrix, and param_init_vector.
Definition at line 173 of file shared.cpp.
void initial_params::shared_set_value | ( | const dvar_vector & | x, |
const int & | ii, | ||
const dvariable & | pen | ||
) | [virtual] |
Reimplemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, and param_init_vector.
Definition at line 23 of file shared.cpp.
Referenced by reset().
void initial_params::shared_set_value_inv | ( | const dvector & | x, |
const int & | ii | ||
) | [virtual] |
Reimplemented in param_init_d3array, param_init_bounded_matrix, param_init_matrix, and param_init_vector.
Definition at line 31 of file shared.cpp.
Referenced by xinit().
int initial_params::shared_size_count | ( | void | ) | [virtual] |
Reimplemented in param_init_d3array, param_init_matrix, and param_init_vector.
Definition at line 15 of file shared.cpp.
Referenced by nvarcalc().
virtual int initial_params::size_count | ( | void | ) | [pure virtual] |
Implemented in param_init_d3array, param_init_matrix, param_init_number, param_init_bounded_vector, and param_init_vector.
Referenced by nvarcalc(), and nvarcalc_all().
int initial_params::stddev_curvscale | ( | const dvector & | d, |
const dvector & | x | ||
) | [static] |
Definition at line 233 of file model.cpp.
Referenced by laplace_approximation_calculator::block_diagonal_calculations().
int initial_params::stddev_scale | ( | const dvector & | d, |
const dvector & | x | ||
) | [static] |
Definition at line 221 of file model.cpp.
Referenced by laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::block_diagonal_calculations(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), function_minimizer::dep_hess_routine(), function_minimizer::hess_routine_noparallel(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::likeprof_routine(), function_minimizer::mcmc_routine(), function_minimizer::monte_carlo_routine(), and function_minimizer::sd_routine().
int initial_params::stddev_vscale | ( | const dvar_vector & | d, |
const dvar_vector & | x | ||
) | [static] |
Definition at line 210 of file model.cpp.
Referenced by calculate_importance_sample(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), and function_minimizer::get_hybrid_monte_carlo_value().
void initial_params::xinit | ( | const dvector & | x | ) | [static] |
Definition at line 245 of file model.cpp.
Referenced by laplace_approximation_calculator::banded_calculations(), calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), laplace_approximation_calculator::default_calculations_check_derivatives(), function_minimizer::dep_hess_routine(), function_minimizer::depvars_routine(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), fmmt1::fmin2(), laplace_approximation_calculator::get_fx_fu(), laplace_approximation_calculator::get_gradient_lme(), laplace_approximation_calculator::get_gradient_lme_hp(), laplace_approximation_calculator::get_hessian_from_components_lme(), function_minimizer::get_particular_grad(), laplace_approximation_calculator::get_uhat_lm_newton(), laplace_approximation_calculator::get_uhat_lm_newton2(), laplace_approximation_calculator::get_uhat_quasi_newton(), laplace_approximation_calculator::get_uhat_quasi_newton_block_diagonal(), laplace_approximation_calculator::get_uhat_quasi_newton_qd(), function_minimizer::hess_inv(), function_minimizer::hess_routine_and_constraint(), function_minimizer::hess_routine_noparallel(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::hess_routine_slave_random_effects(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::likeprof_routine(), function_minimizer::mcmc_eval(), function_minimizer::mcmc_routine(), function_minimizer::minimize(), function_minimizer::monte_carlo_routine(), function_minimizer::prof_minimize(), function_minimizer::prof_minimize_re(), and function_minimizer::sd_routine().
void initial_params::xinit1 | ( | const dvector & | x, |
const dvector & | g | ||
) | [static] |
void initial_params::xinit_all | ( | const dvector & | _x | ) | [static] |
Description not yet available.
Definition at line 31 of file nvarcall.cpp.
Referenced by laplace_approximation_calculator::get_hessian_components_banded_lme(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), and function_minimizer::trust_region_update().
int active | ( | const initial_params & | ip | ) | [friend] |
friend class function_minimizer [friend] |
int initial_params::active_flag [protected] |
Definition at line 829 of file admodel.h.
Referenced by active(), initial_params(), set_active_flag(), and set_inactive_flag().
int initial_params::current_phase = 1 [static] |
Definition at line 853 of file admodel.h.
Referenced by add_random_vector(), function_minimizer::computations1(), copy_all_values(), correct_for_dev_objects(), get_jacobian_value(), get_reportfile_name(), initial_params(), function_minimizer::likeprof_routine(), function_minimizer::limited_memory_quasi_newton(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::mcmc_eval(), function_minimizer::minimize(), montecarlo_scale(), num_active_calc(), nvarcalc(), function_minimizer::prof_minimize(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), function_minimizer::random_effects_maximization(), reset(), reset1(), restore_all_values(), save(), save_all(), function_minimizer::sd_routine(), set_all_simulation_bounds(), param_init_vector::setshare(), param_init_matrix::setshare(), param_init_vector::shared_set_value(), param_init_matrix::shared_set_value(), param_init_bounded_matrix::shared_set_value(), param_init_vector::shared_size_count(), param_init_matrix::shared_size_count(), param_init_d3array::shared_size_count(), stddev_curvscale(), stddev_scale(), stddev_vscale(), function_minimizer::trust_region_update(), xinit(), and xinit1().
double initial_params::initial_value [protected] |
Definition at line 831 of file admodel.h.
Referenced by param_init_vector::allocate(), param_init_bounded_vector::allocate(), param_init_number::allocate(), param_init_bounded_number::allocate(), param_init_matrix::allocate(), param_init_bounded_matrix::allocate(), param_init_d3array::allocate(), get_initial_value(), initial_params(), and set_initial_value().
int initial_params::initial_value_flag [protected] |
Definition at line 830 of file admodel.h.
Referenced by param_init_bounded_vector::allocate(), param_init_bounded_number::allocate(), param_init_bounded_matrix::allocate(), initial_params(), and set_initial_value().
const int initial_params::max_num_initial_params = 250 [static] |
Definition at line 849 of file admodel.h.
Referenced by add_to_list().
int initial_params::max_number_phases = 1 [static] |
Definition at line 852 of file admodel.h.
Referenced by allocate(), function_minimizer::computations1(), get_reportfile_name(), function_minimizer::likeprof_routine(), function_minimizer::mcmc_eval(), function_minimizer::minimize(), function_minimizer::prof_minimize(), function_minimizer::prof_minimize_re(), and save().
int initial_params::mc_phase = 0 [static] |
Definition at line 856 of file admodel.h.
Referenced by ad_make_code_reentrant(), laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::do_newton_raphson_banded(), laplace_approximation_calculator::do_newton_raphson_state_space(), evaluate_function(), laplace_approximation_calculator::get_uhat_lm_newton(), function_minimizer::hybrid_mcmc_routine(), function_minimizer::mcmc_routine(), function_minimizer::monte_carlo_routine(), param_init_bounded_vector::sd_scale(), param_init_bounded_number::sd_scale(), df1b2_init_bounded_number::sd_scale(), df1b2_init_bounded_vector::sd_scale(), param_init_bounded_vector::set_value(), param_init_bounded_dev_vector::set_value(), df1b2_init_bounded_vector::set_value(), and param_init_bounded_vector::set_value_inv().
int initial_params::mceval_phase = 0 [static] |
Definition at line 857 of file admodel.h.
Referenced by ad_make_code_reentrant(), and function_minimizer::computations().
int initial_params::num_active_initial_params [static] |
int initial_params::num_initial_params = 0 [static] |
Definition at line 848 of file admodel.h.
Referenced by ad_make_code_reentrant(), add_random_vector(), add_to_list(), copy_all_values(), correct_for_dev_objects(), get_jacobian_value(), laplace_approximation_calculator::get_uhat_quasi_newton_qd(), montecarlo_scale(), num_active_calc(), nvarcalc(), nvarcalc_all(), reset(), reset1(), reset_all(), restore(), restore_all_values(), restore_start_phase(), save(), save_all(), function_minimizer::sd_routine(), set_active_only_random_effects(), set_active_random_effects(), set_all_simulation_bounds(), set_inactive_only_random_effects(), set_inactive_random_effects(), stddev_curvscale(), stddev_scale(), stddev_vscale(), xinit(), xinit1(), xinit_all(), and ~initial_params().
Definition at line 859 of file admodel.h.
Referenced by allocate(), initial_params(), restore_phase_start(), random_effects_number::set_only_random_effects_active(), random_effects_bounded_number::set_only_random_effects_active(), random_effects_vector::set_only_random_effects_active(), random_effects_bounded_vector::set_only_random_effects_active(), random_effects_matrix::set_only_random_effects_active(), random_effects_bounded_matrix::set_only_random_effects_active(), set_only_random_effects_inactive(), set_phase_start(), random_effects_number::set_random_effects_active(), random_effects_bounded_number::set_random_effects_active(), random_effects_vector::set_random_effects_active(), random_effects_bounded_vector::set_random_effects_active(), random_effects_matrix::set_random_effects_active(), and random_effects_bounded_matrix::set_random_effects_active().
Definition at line 858 of file admodel.h.
Referenced by add_random_vector(), allocate(), copy_all_values(), correct_for_dev_objects(), get_jacobian_value(), get_phase_start(), initial_params(), montecarlo_scale(), num_active_calc(), nvarcalc(), reset(), reset1(), restore_all_values(), restore_phase_start(), save_all(), set_all_simulation_bounds(), random_effects_number::set_only_random_effects_active(), random_effects_bounded_number::set_only_random_effects_active(), random_effects_vector::set_only_random_effects_active(), random_effects_bounded_vector::set_only_random_effects_active(), random_effects_matrix::set_only_random_effects_active(), random_effects_bounded_matrix::set_only_random_effects_active(), set_only_random_effects_active(), random_effects_number::set_only_random_effects_inactive(), random_effects_bounded_number::set_only_random_effects_inactive(), random_effects_vector::set_only_random_effects_inactive(), random_effects_bounded_vector::set_only_random_effects_inactive(), random_effects_matrix::set_only_random_effects_inactive(), random_effects_bounded_matrix::set_only_random_effects_inactive(), set_only_random_effects_inactive(), set_phase_start(), random_effects_number::set_random_effects_active(), random_effects_bounded_number::set_random_effects_active(), random_effects_vector::set_random_effects_active(), random_effects_bounded_vector::set_random_effects_active(), random_effects_matrix::set_random_effects_active(), random_effects_bounded_matrix::set_random_effects_active(), random_effects_number::set_random_effects_inactive(), random_effects_bounded_number::set_random_effects_inactive(), random_effects_vector::set_random_effects_inactive(), random_effects_bounded_vector::set_random_effects_inactive(), random_effects_matrix::set_random_effects_inactive(), random_effects_bounded_matrix::set_random_effects_inactive(), stddev_curvscale(), stddev_scale(), stddev_vscale(), xinit(), and xinit1().
int initial_params::restart_phase = 0 [static] |
Definition at line 854 of file admodel.h.
Referenced by function_minimizer::minimize().
double initial_params::scalefactor [protected] |
Definition at line 832 of file admodel.h.
Referenced by get_scalefactor(), initial_params(), param_init_vector::sd_scale(), param_init_bounded_vector::sd_scale(), param_init_number::sd_scale(), param_init_bounded_number::sd_scale(), param_init_matrix::sd_scale(), param_init_bounded_matrix::sd_scale(), set_scalefactor(), param_init_vector::set_value(), param_init_bounded_vector::set_value(), param_init_number::set_value(), param_init_bounded_number::set_value(), param_init_matrix::set_value(), param_init_bounded_matrix::set_value(), param_init_vector::set_value_inv(), param_init_bounded_vector::set_value_inv(), param_init_number::set_value_inv(), param_init_bounded_number::set_value_inv(), param_init_matrix::set_value_inv(), and param_init_bounded_matrix::set_value_inv().
int initial_params::sd_phase = 0 [static] |
Definition at line 855 of file admodel.h.
Referenced by ad_make_code_reentrant(), and function_minimizer::computations1().
shareinfo* initial_params::share_flags [protected] |
Definition at line 826 of file admodel.h.
Referenced by initial_params(), nvarcalc(), reset(), param_init_vector::set_value_inv(), param_init_vector::setshare(), param_init_matrix::setshare(), param_init_vector::shared_set_value(), param_init_matrix::shared_set_value(), param_init_bounded_matrix::shared_set_value(), param_init_d3array::shared_set_value(), param_init_vector::shared_set_value_inv(), param_init_matrix::shared_set_value_inv(), param_init_vector::shared_size_count(), param_init_matrix::shared_size_count(), param_init_d3array::shared_size_count(), xinit(), and ~initial_params().
int initial_params::straight_through_flag = 0 [static] |
Definition at line 850 of file admodel.h.
Referenced by laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::block_diagonal_calculations(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), get_second_ders(), funnel_init_df1b2variable::set_value(), funnel_init_bounded_df1b2vector::set_value(), random_effects_bounded_vector_info::set_value(), re_df1b2_init_bounded_vector::set_value(), and set_value().
adlist_ptr initial_params::varsptr [static] |
Definition at line 846 of file admodel.h.
Referenced by add_random_vector(), add_to_list(), copy_all_values(), correct_for_dev_objects(), get_jacobian_value(), laplace_approximation_calculator::get_uhat_quasi_newton_qd(), montecarlo_scale(), num_active_calc(), nvarcalc(), nvarcalc_all(), reset(), reset1(), reset_all(), restore(), restore_all_values(), restore_start_phase(), save(), save_all(), function_minimizer::sd_routine(), set_active_only_random_effects(), set_active_random_effects(), set_all_simulation_bounds(), set_inactive_only_random_effects(), set_inactive_random_effects(), stddev_curvscale(), stddev_scale(), stddev_vscale(), xinit(), xinit1(), and xinit_all().
Generated on Tue Mar 8 2016 19:51:40 for ADMB Documentation by 1.8.0 |