Changeset 3304
- Timestamp:
- 04/12/10 02:13:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs
r3303 r3304 304 304 foreach (ISelector selector in Selectors.OrderBy(x => x.Name)) 305 305 SelectorParameter.ValidValues.Add(selector); 306 307 ISelector proportionalSelector = SelectorParameter.ValidValues.FirstOrDefault(x => x.GetType().Name.Equals("ProportionalSelector")); 308 if (proportionalSelector != null) SelectorParameter.Value = proportionalSelector; 309 306 310 if (oldSelector != null) { 307 311 ISelector selector = SelectorParameter.ValidValues.FirstOrDefault(x => x.GetType() == oldSelector.GetType());
Note: See TracChangeset
for help on using the changeset viewer.