|
PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
|
Objective values, constraints, and diagnostics produced for one observation. More...
#include <pineforge/hpo/objective.hpp>
Public Member Functions | |
| bool | feasible () const noexcept |
| Returns true when valid, non-empty, finite-valued, and all constraints pass. | |
Static Public Member Functions | |
| static ObjectiveResult | invalid (std::string diagnostic) |
Constructs an invalid result carrying diagnostic and no objective values. | |
Public Attributes | |
| std::vector< double > | values |
| Objective vector; the current native samplers consume one value. | |
| std::vector< Constraint > | constraints |
| Feasibility constraints evaluated alongside the objective. | |
| bool | valid = true |
| False when the objective adapter could not produce a comparable result. | |
| std::string | diagnostic |
| Human-readable invalid-result detail. | |
Objective values, constraints, and diagnostics produced for one observation.
Definition at line 141 of file objective.hpp.
|
noexcept |
Returns true when valid, non-empty, finite-valued, and all constraints pass.
|
static |
Constructs an invalid result carrying diagnostic and no objective values.
| std::vector<Constraint> pineforge::hpo::ObjectiveResult::constraints |
Feasibility constraints evaluated alongside the objective.
Definition at line 145 of file objective.hpp.
| std::string pineforge::hpo::ObjectiveResult::diagnostic |
Human-readable invalid-result detail.
Definition at line 149 of file objective.hpp.
| bool pineforge::hpo::ObjectiveResult::valid = true |
False when the objective adapter could not produce a comparable result.
Definition at line 147 of file objective.hpp.
| std::vector<double> pineforge::hpo::ObjectiveResult::values |
Objective vector; the current native samplers consume one value.
Definition at line 143 of file objective.hpp.