Changeset 7976 for trunk/sources/HeuristicLab.Optimizer
- Timestamp:
- 06/10/12 19:15:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.cs
r7975 r7976 702 702 int counter = 0, totalVariations = GetNumberOfVariations(); 703 703 if (instances.Count == 0) { 704 AddParameterVariations( localExperiment, ref counter, totalVariations);704 AddParameterVariations(Optimizer, localExperiment, ref counter, totalVariations); 705 705 experimentCreationBackgroundWorker.ReportProgress(100, string.Empty); 706 706 … … 725 725 } 726 726 if (!failed) { 727 AddParameterVariations(localExperiment, ref counter, totalVariations); 727 728 AddParameterVariations(algorithm, localExperiment, ref counter, totalVariations); 728 729 } else experimentCreationBackgroundWorker.ReportProgress((int)Math.Round((100.0 * counter) / totalVariations), "Loading failed (" + descriptor.Name + ")"); 729 730 } … … 740 741 } 741 742 742 private void AddParameterVariations( Experiment localExperiment, ref int counter, int totalVariations) {743 private void AddParameterVariations(IOptimizer optimizer, Experiment localExperiment, ref int counter, int totalVariations) { 743 744 var variations = experimentCreationBackgroundWorker_CalculateParameterVariations(optimizer); 744 745 foreach (var v in variations) {
Note: See TracChangeset
for help on using the changeset viewer.