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