public class Benchmark extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CEC2005SUPPORTDATADIRECTORY |
static String |
DEFAULT_FILE_BIAS |
static ClassLoader |
loader |
static int |
MAX_SUPPORT_DIM |
static int |
NUM_TEST_FUNC |
static DecimalFormat |
numberFormatter |
static DecimalFormat |
percentageFormatter |
static double |
PIx2 |
static Random |
random |
static DecimalFormat |
scientificFormatter |
static String[] |
test_func_class_names |
| Constructor and Description |
|---|
Benchmark() |
Benchmark(String file_bias) |
| Modifier and Type | Method and Description |
|---|---|
static double |
ackley(double[] x) |
static void |
Ax(double[] result,
double[][] A,
double[] x) |
static double |
elliptic(double[] x) |
static double |
EScafferF6(double[] x) |
static double |
EScafferF6NonCont(double[] x) |
static double |
F2(double x,
double y) |
static double |
F8(double x) |
static double |
F8F2(double[] x) |
static double |
griewank(double[] x) |
static double |
hybrid_composition(double[] x,
HCJob job) |
static void |
loadColumnVector(BufferedReader brSrc,
int rows,
double[] column) |
static void |
loadColumnVectorFromFile(String file,
int rows,
double[] column) |
static void |
loadMatrix(BufferedReader brSrc,
int rows,
int columns,
double[][] matrix) |
static void |
loadMatrixFromFile(String file,
int rows,
int columns,
double[][] matrix) |
static void |
loadNMatrixFromFile(String file,
int N,
int rows,
int columns,
double[][][] matrix) |
static void |
loadRowVector(BufferedReader brSrc,
int columns,
double[] row) |
static void |
loadRowVectorFromFile(String file,
int columns,
double[] row) |
static void |
loadTestDataFromFile(String file,
int num_test_points,
int test_dimension,
double[][] x,
double[] f) |
static void |
main(String[] args) |
static double |
myRound(double x) |
static double |
myXRound(double x) |
static double |
myXRound(double x,
double o) |
static double |
rastrigin(double[] x) |
static double |
rastriginNonCont(double[] x) |
static double |
rosenbrock(double[] x) |
static void |
rotate(double[] results,
double[] x,
double[][] matrix) |
void |
runTest() |
void |
runTest(int func_num) |
static double |
ScafferF6(double x,
double y) |
static double |
schwefel_102(double[] x) |
static void |
shift(double[] results,
double[] x,
double[] o) |
static double |
sphere_noise(double[] x) |
static double |
sphere(double[] x) |
TestFunc |
testFunctionFactory(int func_num,
int dimension) |
static double |
weierstrass(double[] x) |
static double |
weierstrass(double[] x,
double a,
double b,
int Kmax) |
static void |
xA(double[] result,
double[] x,
double[][] A) |
static double |
xy(double[] x,
double[] y) |
public static final String CEC2005SUPPORTDATADIRECTORY
public static final int NUM_TEST_FUNC
public static final String DEFAULT_FILE_BIAS
public static final String[] test_func_class_names
public static final int MAX_SUPPORT_DIM
public static final double PIx2
public static final DecimalFormat scientificFormatter
public static final DecimalFormat numberFormatter
public static final DecimalFormat percentageFormatter
public static final Random random
public static final ClassLoader loader
public Benchmark()
throws JMetalException
JMetalExceptionpublic Benchmark(String file_bias) throws JMetalException
JMetalExceptionpublic static void main(String[] args) throws JMetalException
JMetalExceptionpublic static double sphere(double[] x)
public static double sphere_noise(double[] x)
public static double schwefel_102(double[] x)
public static double rosenbrock(double[] x)
public static double F2(double x,
double y)
public static double griewank(double[] x)
public static double F8(double x)
public static double ackley(double[] x)
public static double myRound(double x)
public static double myXRound(double x,
double o)
public static double myXRound(double x)
public static double rastrigin(double[] x)
public static double rastriginNonCont(double[] x)
public static double weierstrass(double[] x)
public static double weierstrass(double[] x,
double a,
double b,
int Kmax)
public static double F8F2(double[] x)
public static double ScafferF6(double x,
double y)
public static double EScafferF6(double[] x)
public static double EScafferF6NonCont(double[] x)
public static double elliptic(double[] x)
public static double hybrid_composition(double[] x,
HCJob job)
throws JMetalException
JMetalExceptionpublic static void shift(double[] results,
double[] x,
double[] o)
public static void rotate(double[] results,
double[] x,
double[][] matrix)
public static double xy(double[] x,
double[] y)
public static void xA(double[] result,
double[] x,
double[][] A)
public static void Ax(double[] result,
double[][] A,
double[] x)
public static void loadTestDataFromFile(String file, int num_test_points, int test_dimension, double[][] x, double[] f) throws JMetalException
JMetalExceptionpublic static void loadRowVectorFromFile(String file, int columns, double[] row) throws JMetalException
JMetalExceptionpublic static void loadRowVector(BufferedReader brSrc, int columns, double[] row) throws Exception
Exceptionpublic static void loadColumnVectorFromFile(String file, int rows, double[] column) throws JMetalException
JMetalExceptionpublic static void loadColumnVector(BufferedReader brSrc, int rows, double[] column) throws Exception
Exceptionpublic static void loadNMatrixFromFile(String file, int N, int rows, int columns, double[][][] matrix) throws JMetalException
JMetalExceptionpublic static void loadMatrixFromFile(String file, int rows, int columns, double[][] matrix) throws JMetalException
JMetalExceptionpublic static void loadMatrix(BufferedReader brSrc, int rows, int columns, double[][] matrix) throws Exception
Exceptionpublic TestFunc testFunctionFactory(int func_num, int dimension) throws JMetalException
JMetalExceptionpublic void runTest()
throws JMetalException
JMetalExceptionpublic void runTest(int func_num)
throws JMetalException
JMetalExceptionCopyright © 2018. All rights reserved.