Changeset 17105 for stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleWithOSTest.cs
- Timestamp:
- 07/08/19 00:23:12 (5 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Tests merged: 16585,16594,16625,16658,16906,16908,16997,17021,17024
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleWithOSTest.cs
r17097 r17105 24 24 using System.IO; 25 25 using System.Linq; 26 using HEAL.Attic; 26 27 using HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm; 27 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 using HeuristicLab.Persistence.Default.Xml;29 29 using HeuristicLab.Problems.DataAnalysis; 30 30 using HeuristicLab.Problems.DataAnalysis.Symbolic; … … 40 40 private const int seed = 12345; 41 41 42 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 43 42 44 [TestMethod] 43 45 [TestCategory("Samples.Create")] … … 46 48 var osga = CreateGpSymbolicRegressionSample(); 47 49 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 48 XmlGenerator.Serialize(osga, path);50 serializer.Serialize(osga, path); 49 51 } 50 52 [TestMethod]
Note: See TracChangeset
for help on using the changeset viewer.