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.Problems.Instances.DataAnalysis/3.3/Regression/UCITimeSeries/UCITimeSeriesProvider.cs

    r17415 r17418  
    2323using System.Collections.Generic;
    2424using System.Globalization;
     25using System.IO;
    2526using System.IO.Compression;
    2627
     
    5657    }
    5758
     59    protected override Stream OpenResourceStream(string fileName) {
     60      var instanceArchiveName = Path.Combine("Regression", "Data", fileName + ".zip");
     61      return new FileStream(instanceArchiveName, FileMode.Open, FileAccess.Read, FileShare.Read);
     62    }
     63
    5864    protected override TableFileFormatOptions GetFormatOptions(ZipArchiveEntry entry) {
    5965      return new TableFileFormatOptions {
Note: See TracChangeset for help on using the changeset viewer.