- Timestamp:
- 06/18/19 23:15:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPArtificialAntSampleTest.cs
r16565 r17021 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.