- Timestamp:
- 12/10/14 09:51:08 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/MergingReducerCalculator.cs
r11586 r11676 35 35 get { return (ILookupParameter<IntValue>)Parameters["PopulationSize"]; } 36 36 } 37 private ILookupParameter<IntValue> NumSubScopesParameter {38 get { return (ILookupParameter<IntValue>)Parameters[" NumSubScopes"]; }37 private ILookupParameter<IntValue> LayerPopulationSizeParameter { 38 get { return (ILookupParameter<IntValue>)Parameters["LayerPopulationSize"]; } 39 39 } 40 40 … … 50 50 : base() { 51 51 Parameters.Add(new LookupParameter<IntValue>("PopulationSize")); 52 Parameters.Add(new LookupParameter<IntValue>(" NumSubScopes"));52 Parameters.Add(new LookupParameter<IntValue>("LayerPopulationSize")); 53 53 } 54 54 55 55 public override IOperation Apply() { 56 56 int populationSize = PopulationSizeParameter.ActualValue.Value; 57 int numSubScopes = NumSubScopesParameter.ActualValue.Value;57 int numSubScopes = LayerPopulationSizeParameter.ActualValue.Value; 58 58 59 NumSubScopesParameter.ActualValue.Value = Math.Min(populationSize, numSubScopes);59 LayerPopulationSizeParameter.ActualValue.Value = Math.Min(populationSize, numSubScopes); 60 60 61 61 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.