Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/03/20 17:25:38 (5 years ago)
Author:
pfleck
Message:

#3040

  • (partially) enabled data preprocessing for vectorial data
  • use flat zip-files for large benchmarks instead of embedded resources (faster build times)
  • added multiple variants of vector benchmark I (vector lengh constraints)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.DataPreprocessing/3.4/Data/PreprocessingData.cs

    r17180 r17418  
    407407        } else if (dataset.VariableHasType<DateTime>(variableName)) {
    408408          variableValues.Insert(columnIndex, dataset.GetDateTimeValues(variableName).ToList());
     409        } else if (dataset.VariableHasType<DoubleVector>(variableName)) {
     410          variableValues.Insert(columnIndex, dataset.GetDoubleVectorValues(variableName).ToList());
    409411        } else {
    410412          throw new ArgumentException("The datatype of column " + variableName + " must be of type double, string or DateTime");
     
    681683      l = 0;
    682684      ir = n - 1;
    683       for (;;) {
     685      for (; ; ) {
    684686        if (ir <= l + 1) {
    685687          // Active partition contains 1 or 2 elements.
     
    706708          j = ir;
    707709          a = arr[l + 1]; // Partitioning element.
    708           for (;;) { // Beginning of innermost loop.
     710          for (; ; ) { // Beginning of innermost loop.
    709711            do i++; while (arr[i].CompareTo(a) < 0); // Scan up to find element > a.
    710712            do j--; while (arr[j].CompareTo(a) > 0); // Scan down to find element < a.
Note: See TracChangeset for help on using the changeset viewer.