This branch of the IOHexperimenter consists of the R-implementation of the experimenter, built using Rcpp. To use this package, either clone this repository and install locally, or use the following commands to use devtools to install the package directely:
If devtools is not yet installed, please first use
install.packages('devtools')
Error messages will be shown in your R console if there is any installation issue. Now, the IOHexperimenter package can be installed and loaded using the following commands:
::install_github('IOHprofiler/IOHexperimenter@R')
devtoolslibrary('IOHexperimenter')
This will install the package and all required dependencies.
Install the package using one of the methods mentioned package above.
Create you own algorithm, or use the example algorithm provided in the documentation accessed by:
?benchmark_algorithm
Note that your algorithm will need to accept exactly one parameter: An IOHproblem object, which contains the following information about the current problem:
And the following functions:
Several example algorithms have been implemented in the
algorithms.R
file.
Run the benchmarks using the function ‘benchmark_algorithm’
Analyze your results using the IOHanalyzer by visiting the IOHAnalyzer page
To use the IOHexperimenter in C++ or python, please look at the other branches in this repository