PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
Loading...
Searching...
No Matches
pineforge::hpo::ExpressionEvaluation Struct Reference

Non-throwing result envelope returned by MetricExpression::evaluate(). More...

#include <pineforge/hpo/objective.hpp>

Public Attributes

bool valid = false
 True only when value is usable under the selected policy.
 
double value = 0.0
 Evaluated scalar; meaningful only when valid is true.
 
EvaluationError error = EvaluationError::None
 Machine-readable failure reason, or EvaluationError::None.
 
std::string diagnostic
 Human-readable failure detail, empty after successful evaluation.
 

Detailed Description

Non-throwing result envelope returned by MetricExpression::evaluate().

Definition at line 50 of file objective.hpp.

Member Data Documentation

◆ diagnostic

std::string pineforge::hpo::ExpressionEvaluation::diagnostic

Human-readable failure detail, empty after successful evaluation.

Definition at line 58 of file objective.hpp.

◆ error

EvaluationError pineforge::hpo::ExpressionEvaluation::error = EvaluationError::None

Machine-readable failure reason, or EvaluationError::None.

Definition at line 56 of file objective.hpp.

◆ valid

bool pineforge::hpo::ExpressionEvaluation::valid = false

True only when value is usable under the selected policy.

Definition at line 52 of file objective.hpp.

◆ value

double pineforge::hpo::ExpressionEvaluation::value = 0.0

Evaluated scalar; meaningful only when valid is true.

Definition at line 54 of file objective.hpp.


The documentation for this struct was generated from the following file: