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

Result envelope returned by TrialExecutor::execute(). More...

#include <pineforge/hpo/trial_executor.hpp>

Public Member Functions

bool succeeded () const noexcept
 Returns whether status is TrialExecutionStatus::kSucceeded.
 

Public Attributes

TrialExecutionStatus status = TrialExecutionStatus::kEngineError
 Machine-readable terminal status.
 
std::string error
 Strategy error text when status is TrialExecutionStatus::kEngineError.
 
ReportSnapshot report
 Detached report populated when execution succeeds.
 

Detailed Description

Result envelope returned by TrialExecutor::execute().

Definition at line 102 of file trial_executor.hpp.

Member Function Documentation

◆ succeeded()

bool pineforge::hpo::TrialExecutionResult::succeeded ( ) const
inlinenoexcept

Returns whether status is TrialExecutionStatus::kSucceeded.

Definition at line 111 of file trial_executor.hpp.

References pineforge::hpo::kSucceeded, and status.

Member Data Documentation

◆ error

std::string pineforge::hpo::TrialExecutionResult::error

Strategy error text when status is TrialExecutionStatus::kEngineError.

Definition at line 106 of file trial_executor.hpp.

◆ report

ReportSnapshot pineforge::hpo::TrialExecutionResult::report

Detached report populated when execution succeeds.

Definition at line 108 of file trial_executor.hpp.

◆ status

TrialExecutionStatus pineforge::hpo::TrialExecutionResult::status = TrialExecutionStatus::kEngineError

Machine-readable terminal status.

Definition at line 104 of file trial_executor.hpp.

Referenced by succeeded().


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