Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/12 13:12:48 (12 years ago)
Author:
gkronber
Message:

#1797 added an interface IConstrainedValueParameter, added a test case to check the name, visibility and type of the parameter-property for constrainedValueParameters, corrected all properties in IParameterizedItems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2.cs

    r7999 r8121  
    6464      get { return (ValueParameter<IntValue>)Parameters["PopulationSize"]; }
    6565    }
    66     private ConstrainedValueParameter<ISelector> SelectorParameter {
    67       get { return (ConstrainedValueParameter<ISelector>)Parameters["Selector"]; }
     66    public IConstrainedValueParameter<ISelector> SelectorParameter {
     67      get { return (IConstrainedValueParameter<ISelector>)Parameters["Selector"]; }
    6868    }
    6969    private ValueParameter<PercentValue> CrossoverProbabilityParameter {
    7070      get { return (ValueParameter<PercentValue>)Parameters["CrossoverProbability"]; }
    7171    }
    72     private ConstrainedValueParameter<ICrossover> CrossoverParameter {
    73       get { return (ConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }
     72    public IConstrainedValueParameter<ICrossover> CrossoverParameter {
     73      get { return (IConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }
    7474    }
    7575    private ValueParameter<PercentValue> MutationProbabilityParameter {
    7676      get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; }
    7777    }
    78     private OptionalConstrainedValueParameter<IManipulator> MutatorParameter {
    79       get { return (OptionalConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }
     78    public IConstrainedValueParameter<IManipulator> MutatorParameter {
     79      get { return (IConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }
    8080    }
    8181    private ValueParameter<MultiAnalyzer> AnalyzerParameter {
Note: See TracChangeset for help on using the changeset viewer.