- Timestamp:
- 06/18/19 23:15:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GABppSampleTest.cs
r16565 r17021 21 21 22 22 using System.IO; 23 using System.Linq;23 using HEAL.Attic; 24 24 using HeuristicLab.Algorithms.GeneticAlgorithm; 25 25 using HeuristicLab.Encodings.PermutationEncoding; 26 using HeuristicLab.Persistence.Default.Xml;27 26 using HeuristicLab.Problems.BinPacking3D; 28 27 using HeuristicLab.Selection; … … 34 33 private const string SampleFileName = "GA_BPP"; 35 34 35 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 36 36 37 [TestMethod] 37 38 [TestCategory("Samples.Create")] … … 40 41 var ga = CreateGaBppSample(); 41 42 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 42 XmlGenerator.Serialize(ga, path);43 serializer.Serialize(ga, path); 43 44 } 44 45
Note: See TracChangeset
for help on using the changeset viewer.