Changeset 14897 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/NegativeToZero.cs
- Timestamp:
- 04/28/17 22:52:08 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/NegativeToZero.cs
r14875 r14897 1 1 namespace HeuristicLab.BenchmarkSuite.Problems { 2 using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.Integer; 3 using HeuristicLab.Problems.ProgramSynthesis.Base.Erc.IntegerVector; 4 2 5 public class NegativeToZero : BenchmarkSuiteDataDescriptor { 3 6 private const string name = "Negative to Zero"; … … 27 30 ErcOptions = { 28 31 ErcProbability = 0.05, 29 IntegerErcOptions = { 30 IsEnabled = true, 31 Constants = new [] { 0 } 32 }, 33 IntegerVectorErcOptions = { 34 IsEnabled = true, 35 Constants = new [] { new int[0] } 36 } 32 IntegerErcOptions = new IntegerErcOptions( 33 new IntegerConstantErcValue(0)), 34 IntegerVectorErcOptions = new IntegerVectorErcOptions( 35 new IntegerVectorConstantsErcValue(new int[0])) 37 36 } 38 37 };
Note: See TracChangeset
for help on using the changeset viewer.