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

    r7999 r8121  
    5858      get { return (ValueParameter<BoolValue>)Parameters["SetSeedRandomly"]; }
    5959    }
    60     public ConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter {
    61       get { return (ConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; }
    62     }
    63     public ConstrainedValueParameter<IMoveMaker> MoveMakerParameter {
    64       get { return (ConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; }
    65     }
    66     public ConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter {
    67       get { return (ConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; }
     60    public IConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter {
     61      get { return (IConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; }
     62    }
     63    public IConstrainedValueParameter<IMoveMaker> MoveMakerParameter {
     64      get { return (IConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; }
     65    }
     66    public IConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter {
     67      get { return (IConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; }
    6868    }
    6969    private ValueParameter<IntValue> MaximumIterationsParameter {
Note: See TracChangeset for help on using the changeset viewer.