Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/12 13:12:48 (13 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.TabuSearch/3.3/TabuSearch.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"]; }
    68     }
    69     public ConstrainedValueParameter<ITabuChecker> TabuCheckerParameter {
    70       get { return (ConstrainedValueParameter<ITabuChecker>)Parameters["TabuChecker"]; }
    71     }
    72     public ConstrainedValueParameter<ITabuMaker> TabuMakerParameter {
    73       get { return (ConstrainedValueParameter<ITabuMaker>)Parameters["TabuMaker"]; }
     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"]; }
     68    }
     69    public IConstrainedValueParameter<ITabuChecker> TabuCheckerParameter {
     70      get { return (IConstrainedValueParameter<ITabuChecker>)Parameters["TabuChecker"]; }
     71    }
     72    public IConstrainedValueParameter<ITabuMaker> TabuMakerParameter {
     73      get { return (IConstrainedValueParameter<ITabuMaker>)Parameters["TabuMaker"]; }
    7474    }
    7575    private ValueParameter<IntValue> TabuTenureParameter {
Note: See TracChangeset for help on using the changeset viewer.