Changeset 7392 for branches/HiveHiveEngine/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/ParallelIslandGeneticAlgorithmMainLoop.cs
- Timestamp:
- 01/22/12 22:02:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveHiveEngine/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/ParallelIslandGeneticAlgorithmMainLoop.cs
r7391 r7392 158 158 VariableCreator islandVariableCreator = new VariableCreator(); 159 159 Placeholder islandAnalyzer1 = new Placeholder(); 160 SubScopesRandomCreator subScopesRandomCreator = new SubScopesRandomCreator();160 LocalRandomGenerator localRandomGenerator = new LocalRandomGenerator(); 161 161 Placeholder analyzer1 = new Placeholder(); 162 162 ResultsCollector resultsCollector1 = new ResultsCollector(); … … 182 182 Comparator checkIslandGenerationsReachedMaximum = new Comparator(); 183 183 ConditionalBranch checkContinueEvolution = new ConditionalBranch(); 184 IntDataReducer generationsReducer = new IntDataReducer();185 IntDataReducer evaluatedSolutionsReducer = new IntDataReducer();184 DataReducer generationsReducer = new DataReducer(); 185 DataReducer evaluatedSolutionsReducer = new DataReducer(); 186 186 Placeholder islandAnalyzer2 = new Placeholder(); 187 187 UniformSubScopesProcessor uniformSubScopesProcessor5 = new UniformSubScopesProcessor(); … … 234 234 235 235 stochasticBranch.ProbabilityParameter.ActualName = MutationProbabilityParameter.Name; 236 stochasticBranch.RandomParameter.ActualName = RandomParameter.Name; 236 //set it to the random number generator of the island 237 stochasticBranch.RandomParameter.ActualName = "LocalRandom"; 237 238 238 239 mutator.Name = "Mutator (placeholder)"; … … 312 313 uniformSubScopesProcessor0.Successor = analyzer1; 313 314 islandVariableCreator.Successor = islandAnalyzer1; 314 islandAnalyzer1.Successor = subScopesRandomCreator;315 subScopesRandomCreator.Successor = null;315 islandAnalyzer1.Successor = localRandomGenerator; 316 localRandomGenerator.Successor = null; 316 317 analyzer1.Successor = resultsCollector1; 317 318 resultsCollector1.Successor = uniformSubScopesProcessor1;
Note: See TracChangeset
for help on using the changeset viewer.