Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/10 23:49:54 (14 years ago)
Author:
swagner
Message:

Renamed classes of HeuristicLab.Data (#909)

Location:
trunk/sources/HeuristicLab.Optimization.Operators/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Operators/3.3/ChildrenCreator.cs

    r3021 r3048  
    4343      get { return (ScopeParameter)Parameters["CurrentScope"]; }
    4444    }
    45     public ValueLookupParameter<IntData> ParentsPerChildParameter {
    46       get { return (ValueLookupParameter<IntData>)Parameters["ParentsPerChild"]; }
     45    public ValueLookupParameter<IntValue> ParentsPerChildParameter {
     46      get { return (ValueLookupParameter<IntValue>)Parameters["ParentsPerChild"]; }
    4747    }
    4848    public IScope CurrentScope {
    4949      get { return CurrentScopeParameter.ActualValue; }
    5050    }
    51     public IntData ParentsPerChild {
     51    public IntValue ParentsPerChild {
    5252      get { return ParentsPerChildParameter.Value; }
    5353      set { ParentsPerChildParameter.Value = value; }
     
    5757      : base() {
    5858      Parameters.Add(new ScopeParameter("CurrentScope", "The current scope whose sub-scopes represent the parents."));
    59       Parameters.Add(new ValueLookupParameter<IntData>("ParentsPerChild", "The number of parents that should be crossed per child. Note that some of the typical crossover operators require exactly two parents.", new IntData(2)));
     59      Parameters.Add(new ValueLookupParameter<IntValue>("ParentsPerChild", "The number of parents that should be crossed per child. Note that some of the typical crossover operators require exactly two parents.", new IntValue(2)));
    6060    }
    6161
  • trunk/sources/HeuristicLab.Optimization.Operators/3.3/SolutionsCreator.cs

    r3044 r3048  
    3535  [Creatable("Test")]
    3636  public sealed class SolutionsCreator : SingleSuccessorOperator {
    37     public ValueLookupParameter<IntData> NumberOfSolutionsParameter {
    38       get { return (ValueLookupParameter<IntData>)Parameters["NumberOfSolutions"]; }
     37    public ValueLookupParameter<IntValue> NumberOfSolutionsParameter {
     38      get { return (ValueLookupParameter<IntValue>)Parameters["NumberOfSolutions"]; }
    3939    }
    4040    public ValueLookupParameter<IOperator> SolutionCreatorParameter {
     
    5050      get { return CurrentScopeParameter.ActualValue; }
    5151    }
    52     public IntData NumberOfSolutions {
     52    public IntValue NumberOfSolutions {
    5353      get { return NumberOfSolutionsParameter.Value; }
    5454      set { NumberOfSolutionsParameter.Value = value; }
     
    5757    public SolutionsCreator()
    5858      : base() {
    59       Parameters.Add(new ValueLookupParameter<IntData>("NumberOfSolutions", "The number of solutions that should be created."));
     59      Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSolutions", "The number of solutions that should be created."));
    6060      Parameters.Add(new ValueLookupParameter<IOperator>("SolutionCreator", "The operator which is used to create new solutions."));
    6161      Parameters.Add(new ValueLookupParameter<IOperator>("Evaluator", "The operator which is used to evaluate new solutions."));
Note: See TracChangeset for help on using the changeset viewer.