Changeset 14898 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/IntegerVector/IntegerVectorConstantsErcValue.cs
- Timestamp:
- 04/28/17 23:33:27 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/IntegerVector/IntegerVectorConstantsErcValue.cs
r14897 r14898 8 8 [StorableClass] 9 9 public class IntegerVectorConstantsErcValue : VectorConstantsErcValue<int, IntArray> { 10 public IntegerVectorConstantsErcValue() { 11 } 10 public IntegerVectorConstantsErcValue() : this(new int[0][]) { } 12 11 13 public IntegerVectorConstantsErcValue(params int[][] values) 14 : this(true, values) { 15 } 12 public IntegerVectorConstantsErcValue(params int[][] values) : this(true, values) { } 16 13 17 14 public IntegerVectorConstantsErcValue(bool isEnabled, params int[][] values) 18 15 : base(isEnabled, values.Select(v => new IntArray(v)).ToArray()) { 16 Name = "Integer vector constants"; 19 17 } 20 18
Note: See TracChangeset
for help on using the changeset viewer.