ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ppforest2::cli::Baseline Struct Reference

A baseline suite with a pre-built name → result index. More...

#include <BenchmarkReport.hpp>

Public Member Functions

 Baseline (SuiteResult suite)
 
std::optional< std::reference_wrapper< ScenarioResult const > > find (std::string const &name) const
 Find a scenario by name.
 
- Public Member Functions inherited from ppforest2::cli::SuiteResult
 SuiteResult ()=default
 
 SuiteResult (nlohmann::json const &j)
 
std::string to_csv () const
 
nlohmann::json to_json () const
 

Additional Inherited Members

- Public Attributes inherited from ppforest2::cli::SuiteResult
std::vector< ScenarioResultresults
 
std::string suite_name
 
std::string timestamp
 
double total_time_ms = 0
 

Detailed Description

A baseline suite with a pre-built name → result index.

Constructed from a SuiteResult; builds the lookup index once so print functions can match scenarios by name efficiently.

Constructor & Destructor Documentation

◆ Baseline()

ppforest2::cli::Baseline::Baseline ( SuiteResult suite)
inlineexplicit

Member Function Documentation

◆ find()

std::optional< std::reference_wrapper< ScenarioResult const > > ppforest2::cli::Baseline::find ( std::string const & name) const
inline

Find a scenario by name.


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