PBO#

class ioh.iohcpp.suite.PBO(self: ioh.iohcpp.suite.PBO, problem_ids: List[int], instances: List[int] = [1], dimensions: List[int] = [16])#

Bases: IntegerBase

Suite with PBO 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

  • problem_ids – A list of problem dimensions to include in this instantiation of the suite

Attributes Summary

dimensions

The list of all problems ids contained in the current suite.

instances

The list of all instance ids contained in the current suite.

name

The name of the suite.

problem_ids

The list of all problems ids contained in the current suite.

Methods Summary

attach_logger(self, arg0)

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 list of all problems ids contained in the current suite.

instances#

The list of all instance ids contained in the current suite.

name#

The name of the suite.

problem_ids#

The list of all problems ids contained in the current suite.

Methods Documentation

attach_logger(self: ioh.iohcpp.suite.IntegerBase, arg0: ioh.iohcpp.logger.Logger) None#

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

detach_logger(self: ioh.iohcpp.suite.IntegerBase) None#

Remove the specified logger from the problem

reset(self: ioh.iohcpp.suite.IntegerBase) None#

Reset the state variables of the current problem.