Changeset 14909 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/Integer
- Timestamp:
- 05/03/17 01:31:10 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/Integer/IntegerConstantErcValue.cs
r14905 r14909 7 7 public class IntegerConstantErcValue : ConstantsWeightedErcValue<int, IntArray> { 8 8 9 public IntegerConstantErcValue() : this( new int[0]) { }9 public IntegerConstantErcValue() : this(false, 1d) { } 10 10 11 public IntegerConstantErcValue(params int[] constants) 12 : base(new IntArray(constants)) { 11 public IntegerConstantErcValue(params int[] constants) : this(true, 1d, constants) { } 12 13 public IntegerConstantErcValue(bool isEnabled, double weight = 1d, params int[] constants) 14 : base(isEnabled, new IntArray(constants), weight) { 13 15 Name = "Integer constants"; 14 16 }
Note: See TracChangeset
for help on using the changeset viewer.