Class BBOB2016Problems
java.lang.Object
org.moeaframework.core.spi.ProblemProvider
org.moeaframework.problem.BBOB2016.BBOB2016Problems
Problem provider for all problems in the BBOB 2016 test suite. This test suite consists of bi-objective problems
constructed from two single-objective functions. Each single-objective function name follows the pattern:
bbob_f001_i02_d05In this case, we are requesting the second instance of the first BBOB function with five decision variables. The location of the optimum differs in each instance. To create the name of a BBOB 2016 problem supported by this problem provider, separate two function names a comma, such as:
bbob_f001_i02_d05,bbob_f021_i02_d07The dimension or number of decision variables must be identical in both functions. This also recognizes the problem name format used by the Coco Framework:
bbob-biobj(bbob_f001_i02_d05__bbob_f021_i02_d07)
-
Constructor Summary
ConstructorDescriptionConstructs the problem provider for BBOB 2016 test suite. -
Method Summary
Modifier and TypeMethodDescriptionstatic BBOBFunction
createInstance
(int function, int dimension, int instance) Constructs an instance of one of the BBOB test functions.getProblem
(String name) Returns the problem with the specified name, ornull
if this provider does not support the problem.getReferenceSet
(String name) Returns the reference set for the specified problem, ornull
if this provider does not support the problem or no reference set is available.Methods inherited from class org.moeaframework.core.spi.ProblemProvider
getDiagnosticToolProblems, getEpsilons
-
Constructor Details
-
BBOB2016Problems
public BBOB2016Problems()Constructs the problem provider for BBOB 2016 test suite.
-
-
Method Details
-
getProblem
Description copied from class:ProblemProvider
Returns the problem with the specified name, ornull
if this provider does not support the problem.- Specified by:
getProblem
in classProblemProvider
- Parameters:
name
- the problem name- Returns:
- the problem with the specified name, or
null
if this provider does not support the problem
-
getReferenceSet
Description copied from class:ProblemProvider
Returns the reference set for the specified problem, ornull
if this provider does not support the problem or no reference set is available.- Specified by:
getReferenceSet
in classProblemProvider
- Parameters:
name
- the problem name- Returns:
- the reference set for the specified problem, or
null
if this provider does not support the problem or no reference set is available
-
createInstance
Constructs an instance of one of the BBOB test functions.- Parameters:
function
- the index of the test functiondimension
- the number of decision variablesinstance
- the function instance- Returns:
- the BBOB test function
-