Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/10 00:47:32 (15 years ago)
Author:
swagner
Message:

Worked on refactoring of algorithm analysis and tracing (#999)

  • removed SubScopesSubScopesLookupParameter
  • adapted SubScopesLookupParameter and renamed it into ScopeTreeLookupParameter
Location:
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaBetaCrossover.cs

    r3376 r3659  
    5050    /// The quality of the parents.
    5151    /// </summary>
    52     public SubScopesLookupParameter<DoubleValue> QualityParameter {
    53       get { return (SubScopesLookupParameter<DoubleValue>)Parameters["Quality"]; }
     52    public ScopeTreeLookupParameter<DoubleValue> QualityParameter {
     53      get { return (ScopeTreeLookupParameter<DoubleValue>)Parameters["Quality"]; }
    5454    }
    5555    /// <summary>
     
    7373      : base() {
    7474      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "Whether the problem is a maximization problem or not."));
    75       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The quality values of the parents."));
     75      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality values of the parents."));
    7676      Parameters.Add(new ValueLookupParameter<DoubleValue>("Alpha", "The value for alpha.", new DoubleValue(0.75)));
    7777      Parameters.Add(new ValueLookupParameter<DoubleValue>("Beta", "The value for beta.", new DoubleValue(0.25)));
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/HeuristicCrossover.cs

    r3376 r3659  
    4747    /// The quality of the parents.
    4848    /// </summary>
    49     public SubScopesLookupParameter<DoubleValue> QualityParameter {
    50       get { return (SubScopesLookupParameter<DoubleValue>)Parameters["Quality"]; }
     49    public ScopeTreeLookupParameter<DoubleValue> QualityParameter {
     50      get { return (ScopeTreeLookupParameter<DoubleValue>)Parameters["Quality"]; }
    5151    }
    5252
     
    5858      : base() {
    5959      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "Whether the problem is a maximization problem or not."));
    60       Parameters.Add(new SubScopesLookupParameter<DoubleValue>("Quality", "The quality values of the parents."));
     60      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality values of the parents."));
    6161    }
    6262
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/MultiRealVectorCrossover.cs

    r3593 r3659  
    5555    public MultiRealVectorCrossover()
    5656      : base() {
    57       Parameters.Add(new SubScopesLookupParameter<RealVector>("Parents", "The parent real vector which should be crossed."));
     57      Parameters.Add(new ScopeTreeLookupParameter<RealVector>("Parents", "The parent real vector which should be crossed."));
    5858      ParentsParameter.ActualName = "RealVector";
    5959      Parameters.Add(new LookupParameter<RealVector>("Child", "The child real vector resulting from the crossover."));
Note: See TracChangeset for help on using the changeset viewer.