Changeset 5340 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding
- Timestamp:
- 01/20/11 14:54:02 (14 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/ParameterConfigurations/ParameterConfiguration.cs
r5337 r5340 476 476 return list; 477 477 } 478 479 public void CollectOptimizedParameterNames(List<string> parameterNames, string prefix) { 480 foreach (var vc in ValueConfigurations) { 481 if (vc.Optimize) { 482 vc.CollectOptimizedParameterNames(parameterNames, prefix); 483 } 484 } 485 } 478 486 } 479 487 } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/ValueConfigurations/ValueConfiguration.cs
r5303 r5340 280 280 return list; 281 281 } 282 283 public void CollectOptimizedParameterNames(List<string> parameterNames, string prefix) { 284 foreach (var pc in ParameterConfigurations) { 285 if (pc.Optimize) { 286 parameterNames.Add(prefix + pc.ParameterName); 287 pc.CollectOptimizedParameterNames(parameterNames, prefix + pc.ParameterName + "."); 288 } 289 } 290 } 282 291 } 283 292 }
Note: See TracChangeset
for help on using the changeset viewer.