BBOB

class ioh.iohcpp.suite.BBOB(self, problem_ids: collections.abc.Sequence[int], instances: collections.abc.Sequence[int] = [1], dimensions: collections.abc.Sequence[int] = [5])

Bases: RealBase

Suite with BBOB functions included in IOH.

This class is an iterator for problems, you can define a set of problems to iterate over.

Parameters:
  • problem_ids (list[int]) – A list of problems ids to include in this instantiation of the suite

  • instances (list[int]) – A list of problem instances to include in this instantiation of the suite

  • dimensions (list[int]) – A list of problem dimensions to include in this instantiation of the suite

Attributes Summary

dimensions

The dimensions of all problems contained in the current suite, as a new numpy array (int32).

instances

The instance ids of all problems contained in the current suite, as a new numpy array (int32).

name

The name of the suite.

problem_ids

The ids of all problems contained in the current suite, as a new numpy array (int32).

Methods Summary

attach_logger(self, arg, /)

Attach a logger to the problem to track the performance and internal variables.

detach_logger(self)

Remove the specified logger from the problem

reset(self)

Reset the state variables of the current problem.

Attributes Documentation

dimensions

The dimensions of all problems contained in the current suite, as a new numpy array (int32).

instances

The instance ids of all problems contained in the current suite, as a new numpy array (int32).

name

The name of the suite.

problem_ids

The ids of all problems contained in the current suite, as a new numpy array (int32).

Methods Documentation

attach_logger(self, arg: ioh.iohcpp.logger.Logger, /) → None

Attach a logger to the problem to track the performance and internal variables.

detach_logger(self) → None

Remove the specified logger from the problem

reset(self) → None

Reset the state variables of the current problem.