Changeset 17105 for stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleTest.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/GPSymbolicRegressionSampleTest.cs
r17097 r17105 22 22 using System.IO; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Algorithms.GeneticAlgorithm; 25 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using HeuristicLab.Persistence.Default.Xml;27 27 using HeuristicLab.Problems.DataAnalysis; 28 28 using HeuristicLab.Problems.DataAnalysis.Symbolic; … … 37 37 private const string SampleFileName = "SGP_SymbReg"; 38 38 39 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 40 39 41 [TestMethod] 40 42 [TestCategory("Samples.Create")] … … 43 45 var ga = CreateGpSymbolicRegressionSample(); 44 46 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 45 XmlGenerator.Serialize(ga, path);47 serializer.Serialize(ga, path); 46 48 } 47 49 [TestMethod]
Note: See TracChangeset
for help on using the changeset viewer.