Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/17/10 13:24:11 (14 years ago)
Author:
swagner
Message:

Implemented first version of best and best known quality handling (#920)

Location:
trunk/sources/HeuristicLab.Parameters/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters/3.3/LookupParameter.cs

    r3077 r3080  
    5757    public LookupParameter()
    5858      : base("Anonymous", typeof(T)) {
    59       actualName = Name;
     59      this.actualName = Name;
    6060    }
    6161    public LookupParameter(string name)
    6262      : base(name, typeof(T)) {
    63       actualName = Name;
     63      this.actualName = Name;
    6464    }
    6565    public LookupParameter(string name, string description)
    6666      : base(name, description, typeof(T)) {
    67       actualName = Name;
     67      this.actualName = Name;
     68    }
     69    public LookupParameter(string name, string description, string actualName)
     70      : base(name, description, typeof(T)) {
     71      this.actualName = actualName == null ? string.Empty : actualName;
    6872    }
    6973
  • trunk/sources/HeuristicLab.Parameters/3.3/ValueLookupParameter.cs

    r3017 r3080  
    7575      Value = value;
    7676    }
     77    public ValueLookupParameter(string name, string description, string actualName)
     78      : base(name, description, actualName) {
     79    }
    7780
    7881    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.