Changeset 8939 for trunk/sources/HeuristicLab.Clients.Hive.JobManager
- Timestamp:
- 11/26/12 11:12:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r8914 r8939 539 539 private RunCollection GetAllRunsFromJob(RefreshableJob job) { 540 540 if (job != null) { 541 RunCollection runs = new RunCollection() ;541 RunCollection runs = new RunCollection() { AlgorithmName = job.ItemName }; 542 542 543 543 foreach (HiveTask subTask in job.HiveTasks) { 544 544 if (subTask is OptimizerHiveTask) { 545 545 OptimizerHiveTask ohTask = subTask as OptimizerHiveTask; 546 runs.AddRange(ohTask.ItemTask.Item.Runs); 546 ohTask.ExecuteReadActionOnItemTask(new Action(delegate() { 547 runs.AddRange(ohTask.ItemTask.Item.Runs); 548 })); 547 549 } 548 550 }
Note: See TracChangeset
for help on using the changeset viewer.