Changeset 3429 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
- Timestamp:
- 04/20/10 01:48:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r3376 r3429 180 180 get { return (RandomCreator)OperatorGraph.InitialOperator; } 181 181 } 182 private UniformSubScopesProcessor IslandProcessor { 183 get { return ((RandomCreator.Successor as SubScopesCreator).Successor as UniformSubScopesProcessor); } 184 } 182 185 private SolutionsCreator SolutionsCreator { 183 get { return (SolutionsCreator) ((RandomCreator.Successor as SubScopesCreator).Successor as UniformSubScopesProcessor).Operator; }186 get { return (SolutionsCreator)IslandProcessor.Operator; } 184 187 } 185 188 private IslandGeneticAlgorithmMainLoop MainLoop { 186 get { return (IslandGeneticAlgorithmMainLoop) ((RandomCreator.Successor as SubScopesCreator).Successor as UniformSubScopesProcessor).Successor; }189 get { return (IslandGeneticAlgorithmMainLoop)IslandProcessor.Successor; } 187 190 } 188 191 #endregion … … 226 229 populationCreator.Successor = ussp1; 227 230 231 ussp1.Parallel = null; 232 ussp1.ParallelParameter.ActualName = ParallelParameter.Name; 228 233 ussp1.Operator = solutionsCreator; 229 234 ussp1.Successor = mainLoop;
Note: See TracChangeset
for help on using the changeset viewer.