Changeset 12268 for branches/EnumValue in CreateExperiment
- Timestamp:
- 03/30/15 14:40:45 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/EnumValue in CreateExperiment/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.cs
r12267 r12268 627 627 bool finished; 628 628 do { 629 foreach (var p in boolParameters) { 630 if (!configuration.ContainsKey(p)) 631 configuration.Add(p, false); 632 } 633 634 yield return configuration; 629 635 finished = true; 636 630 637 foreach (var p in boolParameters) { 631 if (!configuration.ContainsKey(p)) configuration.Add(p, false); 632 else { 633 if (configuration[p]) { 634 configuration[p] = false; 635 } else { 636 configuration[p] = true; 637 finished = false; 638 break; 639 } 640 } 641 } 642 yield return configuration; 638 if (configuration[p]) { 639 configuration[p] = false; 640 } else { 641 configuration[p] = true; 642 finished = false; 643 break; 644 } 645 } 643 646 } while (!finished); 644 647 }
Note: See TracChangeset
for help on using the changeset viewer.