Helper routines to read in data files.

The terms horizontal and vertical below refer to the horizontal (fixed-target) and vertical (fixed-budget) views. When considering convergence graphs of function values over times, we can view it as:

  • costs for different fixed targets represented by horizontal cuts.
  • function values for different fixed budgets represented by vertical cuts.

COCO collects experimental data with respect to these two complementary views. This module provides data structures and methods for dealing with the experimental data.

Class MultiReader List of data arrays to be aligned.
Class VMultiReader List of data arrays to be aligned vertically.
Class HMultiReader List of data arrays to be aligned horizontally.
Class ArrayMultiReader Class of aligned data arrays to be aligned together.
Class VArrayMultiReader Wrapper class of aligned data arrays to be aligned vertically.
Class VArrayMultiReaderNew Wrapper class of aligned data arrays to be aligned vertically.
Class HArrayMultiReader Wrapper class of aligned data arrays to be aligned horizontally.
Function align_data Aligns the data from a list of data arrays.
Function alignArrayData Aligns the data from a list of aligned arrays.
Function openfile Undocumented
Function split No summary
Function is_close Undocumented
def align_data(data, idx_evals, idx_funvals, rewind_reader=False):

Aligns the data from a list of data arrays.

This method returns an array for which the alignment value is the first column and the aligned values are in subsequent columns.

def alignArrayData(data):

Aligns the data from a list of aligned arrays.

This method returns an array for which the alignment value is the first column and the aligned values are in subsequent columns.

def openfile(filePath):
Undocumented
def split(dataFiles, idx_to_load=None, dim=None):
Split a list of data files into arrays corresponding to data sets. The Boolean list idx_to_load is thereby indicating whether a given part of the split is to be considered or not if None, all instances are considered.
def is_close(a, b, rel_tol=1e-09, abs_tol=0.0):
Undocumented
API Documentation for cocopp, generated by pydoctor at 2020-01-21 16:27:37.