MOEA Framework 2.12
API Specification

org.moeaframework.problem.BBOB2016
Class BBOBUtils

java.lang.Object
  extended by org.moeaframework.problem.BBOB2016.BBOBUtils

public class BBOBUtils
extends Object


Constructor Summary
BBOBUtils()
           
 
Method Summary
static double computeFOpt(int function, int instance)
           
static double[][] computeRotation(long seed, int N)
           
static double[] computeXOpt(long seed, int N)
           
static RealVariable createTransformedVariable()
          All BBOB problems are defined with the domain [-5, 5], but the inner, transformed functions are defined over the entire real domain.
static double fmax(double a, double b)
           
static double fmin(double a, double b)
           
static double[] gauss(int N, long seed)
           
static double[][] reshape(double[] vector, int m, int n)
           
static double round(double x)
           
static void setBounds(double lower, double upper)
          Overrides the lower and upper bounds returned by createTransformedVariable().
static double[] uniform(int N, long inseed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BBOBUtils

public BBOBUtils()
Method Detail

setBounds

public static void setBounds(double lower,
                             double upper)
Overrides the lower and upper bounds returned by createTransformedVariable(). The bounds must be sufficiently large, otherwise an exception may be thrown.

Parameters:
lower - the new lower bounds
upper - the new upper bounds

createTransformedVariable

public static RealVariable createTransformedVariable()
All BBOB problems are defined with the domain [-5, 5], but the inner, transformed functions are defined over the entire real domain. This method returns a real decision variable bounded from [@value LOWER_BOUNDS, @value UPPER_BOUNDS], which practically covers the entire real domain.

Returns:
a real decision variable used by the BBOB inner functions

uniform

public static double[] uniform(int N,
                               long inseed)

computeXOpt

public static double[] computeXOpt(long seed,
                                   int N)

computeFOpt

public static double computeFOpt(int function,
                                 int instance)

fmin

public static double fmin(double a,
                          double b)

fmax

public static double fmax(double a,
                          double b)

round

public static double round(double x)

gauss

public static double[] gauss(int N,
                             long seed)

reshape

public static double[][] reshape(double[] vector,
                                 int m,
                                 int n)

computeRotation

public static double[][] computeRotation(long seed,
                                         int N)

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!