Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9156


Ignore:
Timestamp:
01/14/13 16:20:43 (12 years ago)
Author:
mkommend
Message:

#2001: Removed commented code from ResourceRegressionInstanceProvider.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/ResourceRegressionInstanceProvider.cs

    r9133 r9156  
    3434    protected abstract string FileName { get; }
    3535
    36     //public override IEnumerable<IDataDescriptor> GetDataDescriptors() {
    37     //  var solutionsArchiveName = GetResourceName(FileName + @"\.zip");
    38     //  if (!String.IsNullOrEmpty(solutionsArchiveName)) {
    39     //    using (var solutionsZipFile = new ZipInputStream(GetType().Assembly.GetManifestResourceStream(solutionsArchiveName))) {
    40     //      IList<string> entries = new List<string>();
    41     //      ZipEntry curEntry;
    42     //      while ((curEntry = solutionsZipFile.GetNextEntry()) != null) {
    43     //        entries.Add(curEntry.Name);
    44     //      }
    45     //      foreach (var entry in entries.OrderBy(x => x)) {
    46     //        yield return new ResourceRegressionDataDescriptor(Path.GetFileNameWithoutExtension(entry), Description, entry);
    47     //      }
    48     //    }
    49     //  }
    50     //}
    51 
    5236    public override IRegressionProblemData LoadData(IDataDescriptor id) {
    5337      var descriptor = (ResourceRegressionDataDescriptor)id;
Note: See TracChangeset for help on using the changeset viewer.