Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13031


Ignore:
Timestamp:
10/19/15 14:26:35 (9 years ago)
Author:
pfleck
Message:

#2269 Removed obsolete MatingPoolPreprocessor.

Location:
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithmMainLoop.cs

    r12998 r13031  
    8787      var initAnalyzerPlaceholder = new Placeholder() { Name = "Analyzer (Placeholder)" };
    8888      var resultsCollector = new ResultsCollector();
    89       var matingPoolPreProcessor = new UniformSubScopesProcessor() { Name = "MatingPoolPreProcessor" };
    90       var matingPoolPreSorter = new SubScopesSorter() { Name = "MatingPoolPreSorter" };
    9189      var matingPoolCreator = new MatingPoolCreator() { Name = "Create Mating Pools" };
    9290      var matingPoolProcessor = new UniformSubScopesProcessor();
     
    126124      resultsCollector.CollectedValues.Add(new LookupParameter<IntValue>("OpenLayers"));
    127125      resultsCollector.CopyValue = new BoolValue(false);
    128       resultsCollector.Successor = matingPoolPreProcessor;
    129 
    130       matingPoolPreProcessor.Operator = matingPoolPreSorter;
    131       matingPoolPreProcessor.Successor = matingPoolCreator;
    132 
    133       matingPoolPreSorter.ValueParameter.ActualName = QualityParameter.Name;
    134       matingPoolPreSorter.DescendingParameter.ActualName = MaximizationParameter.Name;
     126      resultsCollector.Successor = matingPoolCreator;
    135127
    136128      matingPoolCreator.Successor = matingPoolProcessor;
     
    166158      analyzerPlaceholder.Successor = termination;
    167159
    168       termination.ContinueBranch = matingPoolPreProcessor;
     160      termination.ContinueBranch = matingPoolCreator;
    169161    }
    170162
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/MatingPoolCreator.cs

    r12999 r13031  
    2020#endregion
    2121
    22 using System;
    23 using System.Linq;
    2422using HeuristicLab.Common;
    2523using HeuristicLab.Core;
Note: See TracChangeset for help on using the changeset viewer.