.. index:: pair: struct; gpr::policy::SearchState .. _doxid-structgpr_1_1policy_1_1_search_state: struct gpr::policy::SearchState =============================== .. toctree:: :hidden: Overview ~~~~~~~~ Read-only view of one decision. Pointers are valid only for the call. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct SearchState { // fields :ref:`SearchKind` :target:`kind` = :ref:`SearchKind::Minimize`; :ref:`OracleRole` :target:`role` = :ref:`OracleRole::Unspecified`; int :ref:`iteration` = 0; int :target:`oracle_calls` = 0; int :target:`training_size` = 0; int :target:`hyperparameter_refits` = 0; int :target:`image_index` = -1; int :target:`n_coords` = 0; double :target:`posterior_variance` = std::numeric_limits::quiet_NaN(); double :target:`force_variance` = std::numeric_limits::quiet_NaN(); double :target:`trust_radius` = std::numeric_limits::quiet_NaN(); double :target:`distance_to_training` = std::numeric_limits::quiet_NaN(); bool :target:`engine_would_call_oracle` = true; bool :target:`engine_would_retrain` = true; bool :target:`engine_would_rebuild_factor` = true; bool :target:`within_trust` = false; bool :target:`surrogate_proposes_stop` = false; const double* :target:`positions` = nullptr; const :ref:`GaussianProcessRegression`* :target:`gp` = nullptr; }; .. _details-structgpr_1_1policy_1_1_search_state: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Read-only view of one decision. Pointers are valid only for the call. Fields ------ .. index:: pair: variable; iteration .. _doxid-structgpr_1_1policy_1_1_search_state_1a911d827b80a9b13b5c6a3831dd69a6a6: .. ref-code-block:: cpp :class: doxyrest-title-code-block int iteration = 0 Outer iteration index for NEB/Dimer; inner surrogate steps taken so far for Minimize (shared across oracle and hyperparameter-retraining hooks).