Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/10 00:47:32 (14 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
Files:
5 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."));
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCrossover.cs

    r3376 r3659  
    4343    }
    4444    public ILookupParameter<ItemArray<RealVector>> ParentsParameter {
    45       get { return (SubScopesLookupParameter<RealVector>)Parameters["Parents"]; }
     45      get { return (ScopeTreeLookupParameter<RealVector>)Parameters["Parents"]; }
    4646    }
    4747    public ILookupParameter<RealVector> ChildParameter {
     
    5555      : base() {
    5656      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators."));
    57       Parameters.Add(new SubScopesLookupParameter<RealVector>("Parents", "The parent vectors which should be crossed."));
     57      Parameters.Add(new ScopeTreeLookupParameter<RealVector>("Parents", "The parent vectors which should be crossed."));
    5858      Parameters.Add(new LookupParameter<RealVector>("Child", "The child vector resulting from the crossover."));
    5959      Parameters.Add(new ValueLookupParameter<DoubleMatrix>("Bounds", "The lower and upper bounds of the real vector."));
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs

    r3450 r3659  
    4848      : base() {
    4949      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use."));
    50       Parameters.Add(new SubScopesLookupParameter<RealVector>("ParentStrategyParameter", "The strategy parameters to cross."));
     50      Parameters.Add(new ScopeTreeLookupParameter<RealVector>("ParentStrategyParameter", "The strategy parameters to cross."));
    5151      Parameters.Add(new LookupParameter<RealVector>("StrategyParameter", "The crossed strategy parameter."));
    5252      ParentsParameter.ActualName = "StrategyParameter";
Note: See TracChangeset for help on using the changeset viewer.