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.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs

    r8053 r8121  
    6767      get { return (OptionalValueParameter<VRPSolution>)Parameters["BestKnownSolution"]; }
    6868    }
    69     public IValueParameter<IVRPCreator> SolutionCreatorParameter {
    70       get { return (IValueParameter<IVRPCreator>)Parameters["SolutionCreator"]; }
     69    public IConstrainedValueParameter<IVRPCreator> SolutionCreatorParameter {
     70      get { return (IConstrainedValueParameter<IVRPCreator>)Parameters["SolutionCreator"]; }
    7171    }
    7272    IParameter IHeuristicOptimizationProblem.SolutionCreatorParameter {
     
    105105    }
    106106
    107     public ISolutionCreator SolutionCreator {
     107    ISolutionCreator IHeuristicOptimizationProblem.SolutionCreator {
    108108      get { return SolutionCreatorParameter.Value; }
     109    }
     110    public IVRPCreator SolutionCreator {
     111      get { return SolutionCreatorParameter.Value; }
     112      set { SolutionCreatorParameter.Value = value; }
    109113    }
    110114    #endregion
Note: See TracChangeset for help on using the changeset viewer.