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.LocalSearch/3.3/LocalSearchImprovementOperator.cs

    r8118 r8121  
    6464
    6565    #region Parameter Properties
    66     public ConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter {
    67       get { return (ConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; }
    68     }
    69     public ConstrainedValueParameter<IMoveMaker> MoveMakerParameter {
    70       get { return (ConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; }
    71     }
    72     public ConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter {
    73       get { return (ConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; }
     66    public IConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter {
     67      get { return (IConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; }
     68    }
     69    public IConstrainedValueParameter<IMoveMaker> MoveMakerParameter {
     70      get { return (IConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; }
     71    }
     72    public IConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter {
     73      get { return (IConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; }
    7474    }
    7575    public IValueLookupParameter<IntValue> SampleSizeParameter {
Note: See TracChangeset for help on using the changeset viewer.