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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.IntVector/3.3/IntVectorCreator.cs

    r3032 r3048  
    3737      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    3838    }
    39     public ILookupParameter<IntArrayData> IntVectorParameter {
    40       get { return (ILookupParameter<IntArrayData>)Parameters["IntVector"]; }
     39    public ILookupParameter<IntArray> IntVectorParameter {
     40      get { return (ILookupParameter<IntArray>)Parameters["IntVector"]; }
    4141    }
    42     public IValueLookupParameter<IntData> LengthParameter {
    43       get { return (IValueLookupParameter<IntData>)Parameters["Length"]; }
     42    public IValueLookupParameter<IntValue> LengthParameter {
     43      get { return (IValueLookupParameter<IntValue>)Parameters["Length"]; }
    4444    }
    45     public IValueLookupParameter<IntData> MinimumParameter {
    46       get { return (IValueLookupParameter<IntData>)Parameters["Minimum"]; }
     45    public IValueLookupParameter<IntValue> MinimumParameter {
     46      get { return (IValueLookupParameter<IntValue>)Parameters["Minimum"]; }
    4747    }
    48     public IValueLookupParameter<IntData> MaximumParameter {
    49       get { return (IValueLookupParameter<IntData>)Parameters["Maximum"]; }
     48    public IValueLookupParameter<IntValue> MaximumParameter {
     49      get { return (IValueLookupParameter<IntValue>)Parameters["Maximum"]; }
    5050    }
    5151
     
    5353      : base() {
    5454      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators."));
    55       Parameters.Add(new LookupParameter<IntArrayData>("IntVector", "The vector which should be manipulated."));
    56       Parameters.Add(new ValueLookupParameter<IntData>("Length", "The length of the vector."));
    57       Parameters.Add(new ValueLookupParameter<IntData>("Minimum", "The lower bound for each element in the vector."));
    58       Parameters.Add(new ValueLookupParameter<IntData>("Maximum", "The upper bound for each element in the vector."));
     55      Parameters.Add(new LookupParameter<IntArray>("IntVector", "The vector which should be manipulated."));
     56      Parameters.Add(new ValueLookupParameter<IntValue>("Length", "The length of the vector."));
     57      Parameters.Add(new ValueLookupParameter<IntValue>("Minimum", "The lower bound for each element in the vector."));
     58      Parameters.Add(new ValueLookupParameter<IntValue>("Maximum", "The upper bound for each element in the vector."));
    5959    }
    6060
     
    6464    }
    6565
    66     protected abstract IntArrayData Create(IRandom random, IntData length, IntData minimum, IntData maximum);
     66    protected abstract IntArray Create(IRandom random, IntValue length, IntValue minimum, IntValue maximum);
    6767  }
    6868}
Note: See TracChangeset for help on using the changeset viewer.