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/IntegerVector/IntegerVectorConstantsErcValue.cs

    r14898 r14905  
    1010    public IntegerVectorConstantsErcValue() : this(new int[0][]) { }
    1111
    12     public IntegerVectorConstantsErcValue(params int[][] values) : this(true, values) { }
     12    public IntegerVectorConstantsErcValue(params int[][] values) : this(true, 1d, values) { }
    1313
    14     public IntegerVectorConstantsErcValue(bool isEnabled, params int[][] values)
    15       : base(isEnabled, values.Select(v => new IntArray(v)).ToArray()) {
     14    public IntegerVectorConstantsErcValue(bool isEnabled, double weight = 1d, params int[][] values)
     15      : base(isEnabled, weight, values.Select(v => new IntArray(v)).ToArray()) {
    1616      Name = "Integer vector constants";
    1717    }
Note: See TracChangeset for help on using the changeset viewer.