Changeset 14029 for branches/crossvalidation-2434/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
- Timestamp:
- 07/08/16 14:40:02 (8 years ago)
- Location:
- branches/crossvalidation-2434
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r12504 r14029 38 38 /// An island genetic algorithm. 39 39 /// </summary> 40 [Item("Island Genetic Algorithm ", "An island genetic algorithm.")]41 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 110)]40 [Item("Island Genetic Algorithm (Island-GA)", "An island genetic algorithm.")] 41 [Creatable(CreatableAttribute.Categories.PopulationBasedAlgorithms, Priority = 110)] 42 42 [StorableClass] 43 43 public sealed class IslandGeneticAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent { … … 339 339 ParameterizeSelectors(); 340 340 341 foreach (IMigrator migrator in ApplicationManager.Manager.GetInstances<IMigrator>().OrderBy(x => x.Name)) 341 foreach (IMigrator migrator in ApplicationManager.Manager.GetInstances<IMigrator>().OrderBy(x => x.Name)) { 342 // BackwardsCompatibility3.3 343 // Set the migration direction to counterclockwise 344 var unidirectionalRing = migrator as UnidirectionalRingMigrator; 345 if (unidirectionalRing != null) unidirectionalRing.ClockwiseMigrationParameter.Value = new BoolValue(false); 342 346 MigratorParameter.ValidValues.Add(migrator); 347 } 343 348 344 349 qualityAnalyzer = new BestAverageWorstQualityAnalyzer();
Note: See TracChangeset
for help on using the changeset viewer.