Changeset 12197 for branches/ALPS
- Timestamp:
- 03/13/15 09:58:07 (10 years ago)
- Location:
- branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/Alps.cs
r12149 r12197 37 37 namespace HeuristicLab.Algorithms.ALPS { 38 38 [Item("ALPS", "A base class for all ALPS-based algorithms.")] 39 [StorableClass] 39 40 public abstract class Alps : HeuristicOptimizationEngineAlgorithm, IStorableContent { 40 41 public string Filename { get; set; } -
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithmMainLoop.cs
r12186 r12197 93 93 var initializeLayer = new Assigner() { Name = "Reset LayerEvaluatedSolutions" }; 94 94 var mainOperator = CreatePreparedGeneticAlgorithmMainLoop(); 95 var layerAnalyzerPlaceholder = new Placeholder() { Name = "LayerAnalyzer (Placeholder)" };96 95 var generationsIcrementor = new IntCounter() { Name = "Increment Generations" }; 97 96 var evaluatedSolutionsReducer = new DataReducer() { Name = "Increment EvaluatedSolutions" }; 98 97 var eldersEmigrator = new EldersEmigrator() { Name = "Emigrate Elders" }; 99 98 var layerUpdator = new LayerUpdator(mainOperator) { Name = "Update Layers" }; 99 var layerAnalyzerProcessor = new LayerUniformSubScopesProcessor(); 100 var layerAnalyzerPlaceholder = new Placeholder() { Name = "LayerAnalyzer (Placeholder)" }; 100 101 var analyzerPlaceholder = new Placeholder() { Name = "Analyzer (Placeholder)" }; 101 102 var generationsComparator = new Comparator() { Name = "Generations >= MaximumGenerations" }; … … 154 155 evaluatedSolutionsReducer.Successor = eldersEmigrator; 155 156 156 mainOperator.Successor = layerAnalyzerPlaceholder; 157 eldersEmigrator.Successor = layerUpdator; 158 159 layerUpdator.Successor = layerAnalyzerProcessor; 160 161 layerAnalyzerProcessor.Operator = layerAnalyzerPlaceholder; 162 layerAnalyzerProcessor.Successor = analyzerPlaceholder; 157 163 158 164 layerAnalyzerPlaceholder.OperatorParameter.ActualName = LayerAnalyzerParameter.Name; 159 layerAnalyzerPlaceholder.Successor = null;160 161 eldersEmigrator.Successor = layerUpdator;162 163 layerUpdator.Successor = analyzerPlaceholder;164 165 165 166 analyzerPlaceholder.OperatorParameter.ActualName = AnalyzerParameter.Name;
Note: See TracChangeset
for help on using the changeset viewer.