Changeset 14897 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Example.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/Example.cs
r14875 r14897 18 18 19 19 public Example() { 20 this.InputInteger = emptyIntegers;20 InputInteger = emptyIntegers; 21 21 InputFloat = emptyFloats; 22 22 InputBoolean = emptyBooleans; … … 28 28 InputStringVector = emptyStringVectors; 29 29 30 this.OutputInteger = emptyIntegers;30 OutputInteger = emptyIntegers; 31 31 OutputFloat = emptyFloats; 32 32 OutputBoolean = emptyBooleans; … … 37 37 OutputBooleanVector = emptyBooleanVectors; 38 38 OutputStringVector = emptyStringVectors; 39 OutputPrint = string.Empty; 39 40 } 40 41 … … 54 55 55 56 OutputBoolean = (bool[])origin.OutputBoolean.Clone(); 56 this.OutputInteger = (long[])origin.OutputInteger.Clone();57 OutputInteger = (long[])origin.OutputInteger.Clone(); 57 58 OutputFloat = (double[])origin.OutputFloat.Clone(); 58 59 OutputChar = (char[])origin.OutputChar.Clone(); … … 62 63 OutputBooleanVector = (bool[][])origin.OutputBooleanVector.Clone(); 63 64 OutputStringVector = (string[][])origin.OutputStringVector.Clone(); 65 OutputPrint = origin.OutputPrint; 64 66 } 65 67 … … 109 111 [Storable] 110 112 public string[][] OutputStringVector { get; set; } 113 [Storable] 114 public string OutputPrint { get; set; } 111 115 112 116 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.