Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/02/17 20:42:40 (8 years ago)
Author:
pkimmesw
Message:

#2665 Made ErcOptions checkable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/FloatVector/FloatVectorConstantsErcValue.cs

    r14898 r14905  
    1111
    1212    public FloatVectorConstantsErcValue(params double[][] values)
    13       : this(true, values) {
     13      : this(true, 1d, values) {
    1414    }
    1515
    16     public FloatVectorConstantsErcValue(bool isEnabled, params double[][] values)
    17       : base(isEnabled, values.Select(v => new DoubleArray(v)).ToArray()) {
     16    public FloatVectorConstantsErcValue(bool isEnabled, double weight = 1d, params double[][] values)
     17      : base(isEnabled, weight, values.Select(v => new DoubleArray(v)).ToArray()) {
    1818      Name = "Float vector constants";
    1919    }
Note: See TracChangeset for help on using the changeset viewer.