Changeset 13094 for trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs
- Timestamp:
- 10/30/15 16:26:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs
r12504 r13094 405 405 ParameterizeSelectors(); 406 406 407 foreach (IMigrator migrator in ApplicationManager.Manager.GetInstances<IMigrator>().OrderBy(x => x.Name)) 407 foreach (IMigrator migrator in ApplicationManager.Manager.GetInstances<IMigrator>().OrderBy(x => x.Name)) { 408 // BackwardsCompatibility3.3 409 // Set the migration direction to counterclockwise 410 var unidirectionalRing = migrator as UnidirectionalRingMigrator; 411 if (unidirectionalRing != null) unidirectionalRing.ClockwiseMigrationDirection = new BoolValue(false); 408 412 MigratorParameter.ValidValues.Add(migrator); 413 } 409 414 410 415 foreach (IDiscreteDoubleValueModifier modifier in ApplicationManager.Manager.GetInstances<IDiscreteDoubleValueModifier>().OrderBy(x => x.Name))
Note: See TracChangeset
for help on using the changeset viewer.