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#

Attribute#

template<typename T>
struct Attribute : public ioh::common::HasRepr#

Attribute.

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.

Public Members

std::string name#

Name of the attribute.

T value#

Value of the attribue.

Attributes#

struct Attributes#

Struct containing metadata for a given experiment.

Public Members

StringMap experiment#

List of attributes constant per experiment.

dPtrMap run#

List of attributes constant per run.

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.

Public Members

size_t evals#

At what eval was the point recorded.

problem::Solution<double, double> point#

Value of the point.

AlgorithmInfo#

struct AlgorithmInfo : public ioh::common::HasRepr#

Algorithm meta data.

Public Functions

inline AlgorithmInfo(const std::string &name, const std::string &info)#

Construct a new Algorithm Info object.

Parameters:
  • name – Name of the algorithm

  • info – Extra string of algoritm information

inline virtual std::string repr() const override#

Representation of the object.

Public Members

const std::string name#

Name of the algorithm.

const std::string info#

Extra string of algoritm information.

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

  • raAttributes

inline virtual std::string repr() const override#

Representation of the object.

Public Members

const size_t instance#

Instance id.

const size_t evals#

N evals.

const BestPoint best_point#

best point

const std::vector<Attribute<double>> attributes#

Attributes.

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.

Public Members

size_t dimension#

Dimension.

std::string data_file#

Data file.

std::vector<RunInfo> runs#

Runs.

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 = {})#

Construct a new Experiment Info object.

Parameters:
  • suite – suite name

  • problem – problem

  • algorithm – Algoritm meta data

  • attributesAttributes

  • run_attribute_names – Run attributes

  • attribute_names – attributes names

  • dims – Scenarios

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 problem::MetaData problem#

problem

const AlgorithmInfo algorithm#

Algoritm meta data.

const std::vector<Attribute<std::string>> attributes#

Attributes.

const std::vector<std::string> run_attribute_names#

Run attributes.

const std::vector<std::string> attribute_names#

attributes names

std::vector<ScenarioInfo> dims#

Scenarios.