structures¶
Types¶
StringMap¶
-
using ioh::logger::analyzer::structures::StringMap = std::map<std::string, std::string>¶
dPtrMap¶
-
using ioh::logger::analyzer::structures::dPtrMap = std::map<std::string, double*>¶
Structs¶
AlgorithmInfo¶
Attribute¶
-
template<typename T>
struct Attribute : public ioh::common::HasRepr¶ -
Public Functions
-
inline Attribute(const std::string &name, const T &value)¶
Construct a new Attribute object.
- Parameters:
name – name of the attribute
value – Value of the attribue
-
inline virtual std::string repr() const override¶
Representation of the object.
-
inline virtual std::string repr() const
Representation of the object.
-
inline Attribute(const std::string &name, const T &value)¶
Attributes¶
-
struct Attributes¶
Struct containing metadata for a given experiment.
BestPoint¶
-
struct BestPoint : public ioh::common::HasRepr¶
Current best point conatiner.
Public Functions
-
inline BestPoint(const size_t evals = 0, const problem::Solution<double, double> &point = {})¶
Construct a new Best Point object.
- Parameters:
evals – At what eval was the point recorded
point – Value of the point
-
inline virtual std::string repr() const override¶
Representation of the object.
-
inline BestPoint(const size_t evals = 0, const problem::Solution<double, double> &point = {})¶
ExperimentInfo¶
-
struct ExperimentInfo : public ioh::common::HasRepr¶
Experiment information.
Public Functions
-
inline ExperimentInfo(const std::string &suite, const problem::MetaData &problem, const AlgorithmInfo &algorithm, const std::vector<Attribute<std::string>> &attributes = {}, const std::vector<std::string> &run_attribute_names = {}, const std::vector<std::string> &attribute_names = {}, const std::vector<ScenarioInfo> &dims = {}, const std::string &precision = "")¶
Construct a new Experiment Info object.
- Parameters:
suite – suite name
problem – problem
algorithm – Algoritm meta data
attributes – Attributes
run_attribute_names – Run attributes
attribute_names – attributes names
dims – Scenarios
precision – Precision of the values in the data files, written as “precision” when not empty
-
inline virtual std::string repr() const override¶
Representation of the object.
-
inline void write(const fs::path &file_path) const¶
Public Members
-
const std::string suite¶
Suite name.
-
const AlgorithmInfo algorithm¶
Algoritm meta data.
-
const std::vector<std::string> run_attribute_names¶
Run attributes.
-
const std::vector<std::string> attribute_names¶
attributes names
-
std::vector<ScenarioInfo> dims¶
Scenarios.
-
const std::string precision¶
Printf-style precision of the values in the data files (”” for the legacy “%.10f”, not written)
-
inline ExperimentInfo(const std::string &suite, const problem::MetaData &problem, const AlgorithmInfo &algorithm, const std::vector<Attribute<std::string>> &attributes = {}, const std::vector<std::string> &run_attribute_names = {}, const std::vector<std::string> &attribute_names = {}, const std::vector<ScenarioInfo> &dims = {}, const std::string &precision = "")¶
RunInfo¶
-
struct RunInfo : public ioh::common::HasRepr¶
Run information data.
Public Functions
-
inline RunInfo(const size_t instance, const size_t evals, const BestPoint &bp, const std::vector<Attribute<double>> &ra = {})¶
Construct a new Run Info object.
- Parameters:
instance – Instance id
evals – N evals
bp – best point
ra – Attributes
-
inline virtual std::string repr() const override¶
Representation of the object.
-
inline RunInfo(const size_t instance, const size_t evals, const BestPoint &bp, const std::vector<Attribute<double>> &ra = {})¶
ScenarioInfo¶
-
struct ScenarioInfo : public ioh::common::HasRepr¶
Scenario meta data.
Public Functions
-
inline ScenarioInfo(const size_t dimension, const std::string &data_file, const std::vector<RunInfo> runs = {})¶
Construct a new Scenario Info object.
- Parameters:
dimension – Dimension
data_file – Data file
runs – Runs
-
inline virtual std::string repr() const override¶
Representation of the object.
-
inline ScenarioInfo(const size_t dimension, const std::string &data_file, const std::vector<RunInfo> runs = {})¶