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/AlpsSsMover.cs

    r12174 r12220  
    5050      get { return (ILookupParameter<IScope>)Parameters["WorkingScope"]; }
    5151    }
    52     private ILookupParameter<IScope> LayersParameter {
    53       get { return (ILookupParameter<IScope>)Parameters["Layers"]; }
     52    private ILookupParameter<IScope> LayersScopeParameter {
     53      get { return (ILookupParameter<IScope>)Parameters["LayersScope"]; }
    5454    }
    5555    public ILookupParameter<IRandom> RandomParameter {
     
    9292      Parameters.Add(new LookupParameter<IntValue>("NumberOfLayers"));
    9393      Parameters.Add(new LookupParameter<IScope>("WorkingScope"));
    94       Parameters.Add(new LookupParameter<IScope>("Layers"));
     94      Parameters.Add(new LookupParameter<IScope>("LayersScope"));
    9595      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use."));
    9696      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality"));
     
    123123      maximization = MaximizationParameter.ActualValue.Value;
    124124
    125       layers = LayersParameter.ActualValue;
     125      layers = LayersScopeParameter.ActualValue;
    126126      var newIndividual = (IScope)WorkingScopeParameter.ActualValue.Clone();
    127127      newIndividual.Name = j.ToString();
Note: See TracChangeset for help on using the changeset viewer.