Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/02/12 16:45:39 (12 years ago)
Author:
abeham
Message:

#1775: Updated integer vector encoding

  • Added advanced bounds to all operators
  • Added new operators
  • Changed DiscreteCrossover to work with >= 2 parents
Location:
branches/IntegerVectorEncoding
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/IntegerVectorEncoding

    • Property svn:ignore set to
      *.suo
  • branches/IntegerVectorEncoding/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs

    r7681 r7686  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
     27using HeuristicLab.Data;
    2728using HeuristicLab.Operators;
    2829using HeuristicLab.Optimization;
     
    4243    }
    4344
     45    public IValueLookupParameter<IntMatrix> BoundsParameter {
     46      get { return (IValueLookupParameter<IntMatrix>)Parameters["Bounds"]; }
     47    }
     48
    4449    public ILookupParameter<ItemArray<IntegerVector>> ParentsParameter {
    4550      get { return (ILookupParameter<ItemArray<IntegerVector>>)Parameters["Parents"]; }
     
    5560    public MultiIntegerVectorCrossover()
    5661      : base() {
     62      Parameters.Add(new ValueLookupParameter<IntMatrix>("Bounds", "The bounds matrix can contain one row for each dimension with three columns specifying minimum (inclusive), maximum (exclusive), and step size. If less rows are given the matrix is cycled."));
    5763      Parameters.Add(new ScopeTreeLookupParameter<IntegerVector>("Parents", "The parent integer vector which should be crossed."));
    5864      ParentsParameter.ActualName = "IntegerVector";
Note: See TracChangeset for help on using the changeset viewer.