Changeset 14905 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/IntegerVector
- Timestamp:
- 05/02/17 20:42:40 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/IntegerVector/IntegerVectorConstantsErcValue.cs
r14898 r14905 10 10 public IntegerVectorConstantsErcValue() : this(new int[0][]) { } 11 11 12 public IntegerVectorConstantsErcValue(params int[][] values) : this(true, values) { }12 public IntegerVectorConstantsErcValue(params int[][] values) : this(true, 1d, values) { } 13 13 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()) { 16 16 Name = "Integer vector constants"; 17 17 }
Note: See TracChangeset
for help on using the changeset viewer.