Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12348 for branches/ALPS


Ignore:
Timestamp:
04/27/15 09:46:40 (10 years ago)
Author:
pfleck
Message:

#2375 Moved SelectionPressure and CurrentSuccessRatio to Layer-Scope instead of Global-Scope.

File:
1 edited

Legend:

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

    r12331 r12348  
    121121      variableCreator.CollectedValues.Add(new ValueParameter<IntValue>("GenerationsSinceLastRefresh", new IntValue(0)));
    122122      variableCreator.CollectedValues.Add(new ValueParameter<IntValue>("OpenLayers", new IntValue(1)));
    123       variableCreator.CollectedValues.Add(new ValueParameter<DoubleValue>("SelectionPressure", new DoubleValue(0)));
    124       variableCreator.CollectedValues.Add(new ValueParameter<DoubleValue>("CurrentSuccessRatio", new DoubleValue(0)));
    125123      variableCreator.Successor = initializeComparisonFactor;
    126124
     
    134132      layerVariableCreator.CollectedValues.Add(new ValueParameter<IntValue>("LayerEvaluatedSolutions"));
    135133      layerVariableCreator.CollectedValues.Add(new ValueParameter<ResultCollection>("LayerResults"));
     134      layerVariableCreator.CollectedValues.Add(new ValueParameter<DoubleValue>("SelectionPressure", new DoubleValue(0)));
     135      layerVariableCreator.CollectedValues.Add(new ValueParameter<DoubleValue>("CurrentSuccessRatio", new DoubleValue(0)));
    136136      layerVariableCreator.Successor = initLayerAnalyzerPlaceholder;
    137137
Note: See TracChangeset for help on using the changeset viewer.