Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/26/21 10:53:46 (4 years ago)
Author:
pfleck
Message:

#3107 Added missing placeholder for the Reinitialization Strategy.

File:
1 edited

Legend:

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

    r17180 r17916  
    400400      var reseedingController = new ReseedingController() { Name = "Reseeding needed (Generation % AgeGap == 0)?" };
    401401      var removeIndividuals = new SubScopesRemover();
     402      var reinitializeStrategyPlaceholder = new Placeholder() { Name = "Reinitialization Strategy (Placeholder)" };
    402403      var createIndividuals = new SolutionsCreator();
    403404      var initializeAgeProsessor = new UniformSubScopesProcessor();
     
    410411      reseedingController.AgeGapParameter.ActualName = AgeGapParameter.Name;
    411412      reseedingController.FirstLayerOperator = removeIndividuals;
     413      reseedingController.ReinitializationStrategyOperator = reinitializeStrategyPlaceholder;
    412414      reseedingController.Successor = null;
    413415
    414416      removeIndividuals.Successor = createIndividuals;
     417
     418      reinitializeStrategyPlaceholder.OperatorParameter.ActualName = "ReinitializationStrategy";
    415419
    416420      createIndividuals.NumberOfSolutionsParameter.ActualName = PopulationSizeParameter.Name;
Note: See TracChangeset for help on using the changeset viewer.