Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10389


Ignore:
Timestamp:
01/23/14 11:03:57 (11 years ago)
Author:
mkommend
Message:

#1997: Corrected API of island offspring selection algorithm (some properties were not accessible).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs

    r10197 r10389  
    203203      set { ReevaluateElitesParameter.Value.Value = value; }
    204204    }
    205     private DoubleValue SuccessRatio {
     205    public DoubleValue SuccessRatio {
    206206      get { return SuccessRatioParameter.Value; }
    207       set { SuccessRatioParameter.Value = value; }
    208     }
    209     private DoubleValue ComparisonFactorLowerBound {
     207      private set { SuccessRatioParameter.Value = value; }
     208    }
     209    public DoubleValue ComparisonFactorLowerBound {
    210210      get { return ComparisonFactorLowerBoundParameter.Value; }
    211       set { ComparisonFactorLowerBoundParameter.Value = value; }
    212     }
    213     private DoubleValue ComparisonFactorUpperBound {
     211      private set { ComparisonFactorLowerBoundParameter.Value = value; }
     212    }
     213    public DoubleValue ComparisonFactorUpperBound {
    214214      get { return ComparisonFactorUpperBoundParameter.Value; }
    215       set { ComparisonFactorUpperBoundParameter.Value = value; }
     215      private set { ComparisonFactorUpperBoundParameter.Value = value; }
    216216    }
    217217    public IDiscreteDoubleValueModifier ComparisonFactorModifier {
     
    219219      set { ComparisonFactorModifierParameter.Value = value; }
    220220    }
    221     private DoubleValue MaximumSelectionPressure {
     221    public DoubleValue MaximumSelectionPressure {
    222222      get { return MaximumSelectionPressureParameter.Value; }
    223       set { MaximumSelectionPressureParameter.Value = value; }
    224     }
    225     private BoolValue OffspringSelectionBeforeMutation {
     223      private set { MaximumSelectionPressureParameter.Value = value; }
     224    }
     225    public BoolValue OffspringSelectionBeforeMutation {
    226226      get { return OffspringSelectionBeforeMutationParameter.Value; }
    227       set { OffspringSelectionBeforeMutationParameter.Value = value; }
     227      private set { OffspringSelectionBeforeMutationParameter.Value = value; }
    228228    }
    229229    public MultiAnalyzer Analyzer {
Note: See TracChangeset for help on using the changeset viewer.