.. index:: pair: struct; gpr::bo::ParameterBound .. _doxid-structgpr_1_1bo_1_1_parameter_bound: struct gpr::bo::ParameterBound ============================== .. toctree:: :hidden: Overview ~~~~~~~~ One axis of the search box. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ParameterBound { // fields double :target:`lower` = 0.0; double :target:`upper` = 1.0; bool :target:`logarithmic` = false; bool :target:`integer` = false; std::vector :target:`allowed_values` = {}; bool :target:`categorical` = false; }; .. _details-structgpr_1_1bo_1_1_parameter_bound: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ One axis of the search box. The first three members describe a continuous axis. integer restricts it to the whole numbers in [ceil(lower), floor(upper)]. A non-empty allowed_values replaces the interval by exactly those values, such as the divisors of a core count, in the order given; the surrogate then sees the position in the list, so neighbours in the list are similar. categorical marks the allowed values as unordered labels: the default kernel compares them only for equality.