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.BinaryVectors/3.3/BinaryVectorCrossover.cs

    r3043 r3048  
    3737      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    3838    }
    39     public ILookupParameter<ItemArray<BoolArrayData>> ParentsParameter {
    40       get { return (SubScopesLookupParameter<BoolArrayData>)Parameters["Parents"]; }
     39    public ILookupParameter<ItemArray<BoolArray>> ParentsParameter {
     40      get { return (SubScopesLookupParameter<BoolArray>)Parameters["Parents"]; }
    4141    }
    42     public ILookupParameter<BoolArrayData> ChildParameter {
    43       get { return (ILookupParameter<BoolArrayData>)Parameters["Child"]; }
     42    public ILookupParameter<BoolArray> ChildParameter {
     43      get { return (ILookupParameter<BoolArray>)Parameters["Child"]; }
    4444    }
    4545
     
    4747      : base() {
    4848      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators."));
    49       Parameters.Add(new SubScopesLookupParameter<IntArrayData>("Parents", "The parent vectors which should be crossed."));
    50       Parameters.Add(new LookupParameter<IntArrayData>("Child", "The child vector resulting from the crossover."));
     49      Parameters.Add(new SubScopesLookupParameter<IntArray>("Parents", "The parent vectors which should be crossed."));
     50      Parameters.Add(new LookupParameter<IntArray>("Child", "The child vector resulting from the crossover."));
    5151    }
    5252
     
    5656    }
    5757
    58     protected abstract BoolArrayData Cross(IRandom random, ItemArray<BoolArrayData> parents);
     58    protected abstract BoolArray Cross(IRandom random, ItemArray<BoolArray> parents);
    5959  }
    6060}
Note: See TracChangeset for help on using the changeset viewer.