Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/06/15 08:30:19 (9 years ago)
Author:
abeham
Message:

#2253: merged to stable

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/NPointCrossover.cs

    r11170 r11929  
    4141    /// Number of crossover points.
    4242    /// </summary>
    43     public ValueLookupParameter<IntValue> NParameter {
    44       get { return (ValueLookupParameter<IntValue>)Parameters["N"]; }
     43    public IValueLookupParameter<IntValue> NParameter {
     44      get { return (IValueLookupParameter<IntValue>)Parameters["N"]; }
    4545    }
    4646
     
    137137      if (NParameter.ActualValue == null) throw new InvalidOperationException("NPointCrossover: Parameter " + NParameter.ActualName + " could not be found.");
    138138
    139       return Apply(random, parents[0], parents[1], NParameter.Value);
     139      return Apply(random, parents[0], parents[1], NParameter.ActualValue);
    140140    }
    141141  }
Note: See TracChangeset for help on using the changeset viewer.