eaf#

Types#

Front#

using ioh::logger::eaf::Front = std::vector<eaf::RunPoint>#

A set of non-dominated points.

Structs#

Point#

struct Point#

A point in the quality/time 2D space.

That is, the values associated with an objective function call, as logged by an EAF logger.

“time” means “number of calls to the objective function”.

Subclassed by ioh::logger::eaf::RunPoint

Public Functions

inline Point()#

Empty constructor, building up an invalid Point.

inline Point(double quality, size_t nb_evals)#

Constructor with quality, then time.

inline Point(size_t nb_evals, double quality)#

Constructor with time, then quality.

Public Members

double qual#

The quality of the point, i.e.

its objective function value.

size_t time#

The time of the point, i.e.

the number of the objective function calls.

Friends

inline friend std::ostream &operator<<(std::ostream &out, const Point &p)#

Stream operator.

RunPoint#

struct RunPoint : public ioh::logger::eaf::Point#

A point and its corresponding run index.

Used in stat::Levels.

Public Functions

inline RunPoint()#

Empty constructor, building up an invalid Point.

inline RunPoint(double q, size_t t, size_t r)#

Constructor with quality, then time.

inline RunPoint(size_t t, double q, size_t r)#

Constructor with time, then quality.

Public Members

size_t run#

Index of the run among all the runs hosted in the logger.

Friends

inline friend std::ostream &operator<<(std::ostream &out, const RunPoint &p)#

Stream operator.

Functions#

ascending_qual#

inline bool ioh::logger::eaf::ascending_qual(const eaf::Point &a, const eaf::Point &b)#

Comparator for sorting a vector of eaf::Point with ascending qualities.

Returns:

true if the quality of a is smaller than the time of b.

ascending_time#

inline bool ioh::logger::eaf::ascending_time(const eaf::Point &a, const eaf::Point &b)#

Comparator for sorting a vector of eaf::Point with ascending times.

Returns:

true if the time of a is smaller than the time of b.

descending_qual#

inline bool ioh::logger::eaf::descending_qual(const eaf::Point &a, const eaf::Point &b)#

Comparator for sorting a vector of eaf::Point with descending qualities.

Returns:

true if the quality of a is larger than the quality of b.

descending_time#

inline bool ioh::logger::eaf::descending_time(const eaf::Point &a, const eaf::Point &b)#

Comparator for sorting a vector of eaf::Point with descending time.

Returns:

true if the time of a is larger than the quality of b.