Changeset 13804
- Timestamp:
- 04/27/16 16:43:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem.Common/3.3/KnowledgeCenter.cs
r13803 r13804 452 452 } 453 453 }); 454 454 455 455 algorithmId2AlgorithmInstanceMapping.Clear(); 456 algorithmId2RunMapping.Clear(); 457 algorithmInstances.Clear(); 456 458 progress.Status = "Downloading algorithm instances..."; 457 459 progress.ProgressValue = 0; … … 503 505 } 504 506 }); 505 506 507 progress.Status = "Finishing..."; 508 509 // remove algorithm instances that do not appear in any downloaded run 510 for (var algIdx = 0; algIdx < algorithmInstances.Count; algIdx++) { 511 var id = algorithmId2AlgorithmInstanceMapping.GetBySecond(algorithmInstances[algIdx]); 512 if (!algorithmId2RunMapping.ContainsFirst(id)) { 513 algorithmId2AlgorithmInstanceMapping.RemoveByFirst(id); 514 algorithmInstances.RemoveAt(algIdx); 515 algIdx--; 516 } 517 } 507 518 508 519 try {
Note: See TracChangeset
for help on using the changeset viewer.