This module contains some global variables settings for COCO.
These variables may be modified (in particular in rungeneric1, 2, and -many) and are used for producing figures and tables.
For setting variables dynamically or changing other module settings
here see cocopp.config.
| Variable | algorithm |
dict, display algorithm names for some or all input arguments. The names are used for display and as id, instead of a name derived from the path or the archive name. The dict key is the position in main_input_args... |
| Variable | appended |
minimum number of instances required in the appended_evals array such that DataSet.appended_evals is created to be different from DataSet.evals |
| Variable | background |
algorithms to shown for comparison "in the background". Usage: background = {(color, linestyle): [path_to_data1, path_to_data2, ...], } Examples: background = {None: cocopp.archives.bbob.get_all('2009/')}... |
| Variable | background |
(color, linestyle) tuple for background algorithms, by default =(3 * (0.9,), "-") |
| Variable | balance |
give even weight to all instances by added columns with copies of underrepresented instances in DataSet.evals |
| Variable | count |
counter of checks done in pprldmany, avoids repeated checks and warning floods |
| Variable | dim |
Undocumented |
| Variable | dim |
Undocumented |
| Variable | extraction |
Undocumented |
| Variable | figsize |
Undocumented |
| Variable | figure |
Undocumented |
| Variable | filter |
a callable which is used in rungenericmany to filter the list of DataSet. For example, to keep only the "effectively unimodal" functions of the 'bbob' testbed, set filter_data_condition = lambda
ds: ds.funcId in [1, 2,] + list(range(5, 15))... |
| Variable | force |
Undocumented |
| Variable | foreground |
a list of data files/folders as those specified in cocopp.main |
| Variable | in |
Undocumented |
| Variable | index |
Undocumented |
| Variable | input |
Undocumented |
| Variable | inputsettings |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | instances |
Undocumented |
| Variable | interactive |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | is |
Undocumented |
| Variable | latex |
Undocumented |
| Variable | len |
set the length, for example when we want to remove characters that are not fully displayed, 9 == len('best 2009') |
| Variable | line |
map the input argument position to a line style position, by default the identity. This could be useful to get the same style for several algorithm variants. Only effective with when bool(parameter_sweep) is True... |
| Variable | line |
Undocumented |
| Variable | main |
A list of all data path arguments to the latest call of main or load2 in an InputArguments type, this is not a user setting |
| Variable | many |
Undocumented |
| Variable | marker |
multiply all marker sizes in below line_styles, used in compall.pprldmany.main |
| Variable | maxevals |
Undocumented |
| Variable | minmax |
Undocumented |
| Variable | minor |
used in pprldmany for empirical runtime distributions, 0 means no minor grid |
| Variable | number |
bool, signal whether to prepend algorithm names with a count when displaying unless parameter_sweep is True |
| Variable | outputdir |
Undocumented |
| Variable | parameter |
configure line styles for a parameter sweep, see also cocopp.config.config_line_styles |
| Variable | parameter |
colormap(s) for parameter sweep set from the respective input long_option. |
| Variable | parameter |
assign color in sweep by leading float of algorithm name |
| Variable | ppconv |
Undocumented |
| Variable | ppfigcons1 |
Undocumented |
| Variable | ppfigcons |
Undocumented |
| Variable | ppfigdim |
Undocumented |
| Variable | ppfigs |
Undocumented |
| Variable | pprldistr2 |
Undocumented |
| Variable | pprldmany |
Undocumented |
| Variable | pprldmany |
Undocumented |
| Variable | ppscatter |
Undocumented |
| Variable | pptables |
Undocumented |
| Variable | pretend |
pretend the initial_solution was evaluated in the first evaluation and modify the data accordingly for any larger targets that were hit only later. This increases the first loading time by 1-3s per algorithm... |
| Variable | rcaxes |
Undocumented |
| Variable | rcaxeslarger |
Undocumented |
| Variable | rcfont |
Undocumented |
| Variable | rcfontlarger |
Undocumented |
| Variable | rclegend |
Undocumented |
| Variable | rclegendlarger |
Undocumented |
| Variable | rctick |
Undocumented |
| Variable | rcticklarger |
Undocumented |
| Variable | reference |
Undocumented |
| Variable | runlength |
Undocumented |
| Variable | scaling |
Undocumented |
| Variable | scaling |
Undocumented |
| Variable | sequential |
default color maps for a parameter sweep |
| Variable | simulated |
bootstrap samples, 30 is a multiple of 10 and 15. Used for tables and plots. int(1e4) would be preferable for a final camera-ready paper version. |
| Variable | single |
Undocumented |
| Variable | single |
Undocumented |
| Variable | target |
Undocumented |
| Variable | target |
Undocumented |
| Variable | target |
Undocumented |
| Variable | target |
Undocumented |
| Variable | target |
Undocumented |
| Variable | test |
Undocumented |
| Variable | use |
If True, not-common instances are removed such that the set of instance ids is the same for all data sets. By default, when use_only_common_instances
is None, this is the case iff current_testbed.instances_are_uniform... |
| Variable | use |
use only recommendations data (.mdat files) for the respective algorithm where the last element is recycled for the remaining algorithms |
| Variable | verbose |
Undocumented |
| Variable | warning |
Undocumented |
| Variable | weight |
weights used to sum function evaluations and constraints evaluations in the attribute DataSet._evals when data are loaded. |
| Variable | xlimit |
maximal run length multiplier in expensive setting, used in config for pprldmany and ppfigdim |
| Variable | xlimit |
maximal run length multiplier used in pprldmany. |
| Variable | _current |
arguments found in rungeneric.main, namely a list of folders returned by COCODataArchive.get_extended of cocopp.archives.all. |
| Variable | _default |
Undocumented |
dict, display algorithm names for some or all input arguments. The names
are used for display and as id, instead of a name derived from the path or
the archive name. The dict key is the position in main_input_args.
| Value |
|
minimum number of instances required in the appended_evals array such
that DataSet.appended_evals is created to be different from DataSet.evals
| Value |
|
algorithms to shown for comparison "in the background". Usage: background = {(color, linestyle): [path_to_data1, path_to_data2, ...], } Examples: background = {None: cocopp.archives.bbob.get_all('2009/')} for all algorithms benchmarked in 2009 on the bbob test suite show with default line style, or background = {None: cocopp.archives.bbob_mixint.get_all('')} for all algorithms benchmarked on the bbob-mixint test suite.
| Value |
|
(color, linestyle) tuple for background algorithms, by default =(3 * (0.9,), "-")
| Value |
|
give even weight to all instances by added columns with copies of underrepresented instances in DataSet.evals
| Value |
|
a callable which is used in rungenericmany to filter the list of
DataSet. For example, to keep only the "effectively unimodal"
functions of the 'bbob' testbed, set filter_data_condition = lambda
ds: ds.funcId in [1, 2,] + list(range(5, 15))
| Value |
|
set the length, for example when we want to remove characters that are not fully displayed, 9 == len('best 2009')
| Value |
|
map the input argument position to a line style position, by default the identity. This could be useful to get the same style for several algorithm variants. Only effective with when bool(parameter_sweep) is True.
| Value |
|
Undocumented
| Value |
|
A list of all data path arguments to the latest call of main or load2
in an InputArguments type, this is not a user setting
| Value |
|
bool, signal whether to prepend algorithm names with a count when
displaying unless parameter_sweep is True
| Value |
|
colormap(s) for parameter sweep set from the respective input long_option.
colormaps can, for example, be 'plasma.0.9,viridis' indicating the map
names separated by commata and optionally the range for each map.
| Value |
|
pretend the initial_solution was evaluated in the first evaluation and modify the data accordingly for any larger targets that were hit only later. This increases the first loading time by 1-3s per algorithm. This does currently not apply to MO suites like *-biobj as we do not have HV_normalized(f(X0)) and HV_normalized_opt.
| Value |
|
Undocumented
| Value |
|
bootstrap samples, 30 is a multiple of 10 and 15.
Used for tables and plots. int(1e4) would be preferable
for a final camera-ready paper version.
| Value |
|
If True, not-common instances are removed such that the set of instance ids
is the same for all data sets. By default, when use_only_common_instances
is None, this is the case iff current_testbed.instances_are_uniform
| Value |
|
use only recommendations data (.mdat files) for the respective algorithm where the last element is recycled for the remaining algorithms
| Value |
|
weights used to sum function evaluations and constraints evaluations in the attribute DataSet._evals when data are loaded.
| Value |
|
maximal run length multiplier used in pprldmany.
This sets cocopp.compall.pprldmany.x_limit via
calling cocopp.config.config()`.
Noisy setting should be rather 1e8? ?maybe better: 10 * genericsettings.evaluation_setting[1]?
| Value |
|
arguments found in rungeneric.main, namely a list of folders
returned by COCODataArchive.get_extended of cocopp.archives.all.
| Value |
|