- Timestamp:
- 01/14/13 16:20:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/ResourceRegressionInstanceProvider.cs
r9133 r9156 34 34 protected abstract string FileName { get; } 35 35 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 52 36 public override IRegressionProblemData LoadData(IDataDescriptor id) { 53 37 var descriptor = (ResourceRegressionDataDescriptor)id;
Note: See TracChangeset
for help on using the changeset viewer.