Changeset 17035 for branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPArtificialAntSampleTest.cs
- Timestamp:
- 06/26/19 08:13:50 (5 years ago)
- Location:
- branches/2925_AutoDiffForDynamicalModels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2925_AutoDiffForDynamicalModels
- Property svn:mergeinfo changed
/trunk merged: 17007-17009,17014-17016,17019-17024,17028,17030,17032-17033
- Property svn:mergeinfo changed
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Tests merged: 17019,17021,17024,17033
- Property svn:mergeinfo changed
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPArtificialAntSampleTest.cs
r16662 r17035 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.GeneticProgramming.ArtificialAnt; 28 28 using HeuristicLab.Selection; … … 34 34 private const string SampleFileName = "SGP_SantaFe"; 35 35 36 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 37 36 38 [TestMethod] 37 39 [TestCategory("Samples.Create")] … … 40 42 var ga = CreateGpArtificialAntSample(); 41 43 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 42 XmlGenerator.Serialize(ga, path);44 serializer.Serialize(ga, path); 43 45 } 44 46
Note: See TracChangeset
for help on using the changeset viewer.