Changeset 11585
- Timestamp:
- 11/25/14 15:25:01 (10 years ago)
- Location:
- branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithm.cs
r11583 r11585 230 230 var layer0Processor = new SubScopesProcessor(); 231 231 var localRandomCreator = new LocalRandomCreator(); 232 var layerVariableCreator = new VariableCreator(); 232 233 var layerSolutionsCreator = new SolutionsCreator(); 233 234 var initializeAgeProcessor = new UniformSubScopesProcessor(); … … 251 252 layer0Processor.Successor = initializeGlobalEvaluatedSolutions; 252 253 253 localRandomCreator.Successor = layerSolutionsCreator; 254 localRandomCreator.Successor = layerVariableCreator; 255 256 layerVariableCreator.CollectedValues.Add(new ValueParameter<IntValue>("Layer", new IntValue(0))); 257 layerVariableCreator.Successor = layerSolutionsCreator; 254 258 255 259 layerSolutionsCreator.NumberOfSolutionsParameter.ActualName = PopulationSizeParameter.Name; -
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithmMainLoop.cs
r11583 r11585 35 35 36 36 [Item("AlpsGeneticAlgorithmMainLoop", "An ALPS genetic algorithm main loop operator.")] 37 [StorableClass] 37 38 public sealed class AlpsGeneticAlgorithmMainLoop : AlgorithmOperator { 38 39 #region Parameter Properties … … 129 130 var generationsIcrementor = new IntCounter() { Name = "Increment Generations" }; 130 131 var evaluatedSolutionsReducer = new DataReducer() { Name = "Increment EvaluatedSolutions" }; 131 var eldersEmigrator = new CombinedOperator() { Name = "Emigrate Elders" };132 var eldersEmigrator = new EldersEmigrator() { Name = "Emigrate Elders" }; 132 133 var layerUpdator = new CombinedOperator() { Name = "Update Layers" }; 133 134 var analyzerPlaceholder = new Placeholder() { Name = "Analyzer (Placeholder)" }; … … 228 229 229 230 // Remove unnessesary subtrees 230 //foreach (var @operator in mainLoop.OperatorGraph. Iterate().OfType<SingleSuccessorOperator>().Where(o => o.Successor == selector))231 //foreach (var @operator in mainLoop.OperatorGraph.Operators.OfType<SingleSuccessorOperator>().Where(o => o.Successor == selector)) 231 232 // @operator.Successor = null; 232 233 -
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/HeuristicLab.Algorithms.ALPS-3.3.csproj
r11583 r11585 81 81 <Compile Include="AlpsGeneticAlgorithm.cs" /> 82 82 <Compile Include="AlpsGeneticAlgorithmMainLoop.cs" /> 83 <Compile Include="EldersEmigrator.cs" /> 84 <Compile Include="EldersSelector.cs" /> 83 85 <Compile Include="MatingPoolCreator.cs" /> 84 86 <Compile Include="Plugin.cs" /> 85 87 <Compile Include="Properties\AssemblyInfo.cs" /> 88 <Compile Include="ShiftToRightMigrator.cs" /> 86 89 </ItemGroup> 87 90 <ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.