Changeset 7805 for branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Classification/3.4/RealWorld/RealWorldInstanceProvider.cs
- Timestamp:
- 05/14/12 15:21:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Classification/3.4/RealWorld/RealWorldInstanceProvider.cs
r7758 r7805 52 52 if (!String.IsNullOrEmpty(solutionsArchiveName)) { 53 53 using (var solutionsZipFile = new ZipInputStream(GetType().Assembly.GetManifestResourceStream(solutionsArchiveName))) { 54 foreach (var entry in GetZipContents(solutionsZipFile).OrderBy(x => x)) { 54 IList<string> entries = new List<string>(); 55 ZipEntry curEntry; 56 while ((curEntry = solutionsZipFile.GetNextEntry()) != null) { 57 entries.Add(curEntry.Name); 58 } 59 foreach (var entry in entries.OrderBy(x => x)) { 55 60 string prettyName = Path.GetFileNameWithoutExtension(entry); 56 61 IDataDescriptor desc = descriptorList.Where(x => x.Name.Equals(prettyName)).FirstOrDefault();
Note: See TracChangeset
for help on using the changeset viewer.