Changeset 9504
- Timestamp:
- 05/22/13 10:21:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs
r9493 r9504 651 651 652 652 private readonly object locker = new object(); 653 private readonly object resultLocker = new object(); 653 654 private void ClonedAlgorithm_Started(object sender, EventArgs e) { 654 655 IAlgorithm algorithm = sender as IAlgorithm; 655 if (algorithm != null && !results.ContainsKey(algorithm.Name)) 656 results.Add(new Result(algorithm.Name, "Contains results for the specific fold.", algorithm.Results)); 657 656 lock (resultLocker) { 657 if (algorithm != null && !results.ContainsKey(algorithm.Name)) 658 results.Add(new Result(algorithm.Name, "Contains results for the specific fold.", algorithm.Results)); 659 } 658 660 } 659 661
Note: See TracChangeset
for help on using the changeset viewer.