Changeset 17120 for branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GATspSampleTest.cs
- Timestamp:
- 07/10/19 17:39:38 (5 years ago)
- Location:
- branches/2994-AutoDiffForIntervals
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2994-AutoDiffForIntervals
- Property svn:mergeinfo changed
-
branches/2994-AutoDiffForIntervals/HeuristicLab.Tests
- Property svn:mergeinfo changed
/branches/2435-alglib_3_15/HeuristicLab.Tests (added) merged: 17034 /trunk/HeuristicLab.Tests merged: 17019,17021,17024,17033,17037
- Property svn:mergeinfo changed
-
branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GATspSampleTest.cs
r16565 r17120 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.PermutationEncoding; 26 using HeuristicLab.Persistence.Default.Xml;27 27 using HeuristicLab.Problems.Instances.TSPLIB; 28 28 using HeuristicLab.Problems.TravelingSalesman; … … 35 35 private const string SampleFileName = "GA_TSP"; 36 36 37 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 38 37 39 [TestMethod] 38 40 [TestCategory("Samples.Create")] … … 41 43 var ga = CreateGaTspSample(); 42 44 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 43 XmlGenerator.Serialize(ga, path);45 serializer.Serialize(ga, path); 44 46 } 45 47
Note: See TracChangeset
for help on using the changeset viewer.