Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/18/15 14:25:08 (8 years ago)
Author:
pfleck
Message:

#2350

  • Implemented elitism by sorting the layer and restricting the random target index.
  • Renamed Layers in LayersScope.
File:
1 edited

Legend:

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

    r12192 r12220  
    3535      get { return (ILookupParameter<IScope>)Parameters["WorkingScope"]; }
    3636    }
    37     private ILookupParameter<IScope> LayersParameter {
    38       get { return (ILookupParameter<IScope>)Parameters["Layers"]; }
     37    private ILookupParameter<IScope> LayersScopeParameter {
     38      get { return (ILookupParameter<IScope>)Parameters["LayersScope"]; }
    3939    }
    4040    private ILookupParameter<IntValue> LayerParameter {
     
    6565      : base() {
    6666      Parameters.Add(new LookupParameter<IScope>("WorkingScope"));
    67       Parameters.Add(new LookupParameter<IScope>("Layers"));
     67      Parameters.Add(new LookupParameter<IScope>("LayersScope"));
    6868      Parameters.Add(new LookupParameter<IntValue>("Layer"));
    6969      Parameters.Add(new LookupParameter<IntArray>("AgeLimits"));
     
    7777      int layerNumber = LayerParameter.ActualValue.Value;
    7878      var workingScope = WorkingScopeParameter.ActualValue;
    79       var layers = LayersParameter.ActualValue;
     79      var layers = LayersScopeParameter.ActualValue;
    8080      var ageLimits = AgeLimitsParameter.ActualValue;
    8181      int numberOfLayers = NumberOfLayersParameter.ActualValue.Value;
Note: See TracChangeset for help on using the changeset viewer.