Learn R Programming

ExpDE (version 0.2.0)

ExpDE2: Experimental Differential Evolution - ExpDE

Description

This function is an interface to call the main function ExpDE, usinga method specification generated by gen_methods and a problem specification generated by gen_problems. It is used to provide an easy data-generating process to study the experimental comparisons of algorithms. See the documentation of ExpDE for details of the underlying algorithm.

Usage

ExpDE2(method.name, problem.name, seed = NULL)

Value

A single scalar value representing the final value returned by running the DE method specified by `method.name` on the problem specified by `problem.name`.

Arguments

method.name

A specific method key name, generated by gen_methods. This must be a character string in the format "DE.[integer].[single letter]".

problem.name

A specific problem key name, generated by gen_problems. This must be a character string in the format "Prob.[integer].[integer]".

seed

positive integer, seed for the random number generator.

Examples

Run this code
library(ExpDE)
myprobs <- gen_problems(1234567, nprobs=10)
myalgos <- gen_methods(1234567)
onerun  <- ExpDE2(method.name  = "DE.1234567.A", 
                  problem.name = "Prob.1234567.6")

Run the code above in your browser using DataLab