Changeset 17034 for branches/2435-alglib_3_15/HeuristicLab.Tests/HeuristicLab-3.3/Samples/IslandGaTspSampleTest.cs
- Timestamp:
- 06/25/19 23:14:06 (5 years ago)
- Location:
- branches/2435-alglib_3_15
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2435-alglib_3_15
- Property svn:mergeinfo changed
-
branches/2435-alglib_3_15/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Tests (added) merged: 16703-16704,16706,16737,16743,16757-16758,16769,16820-16821,16867,16869,16906,16908,16997,17019,17021,17024,17033
- Property svn:mergeinfo changed
-
branches/2435-alglib_3_15/HeuristicLab.Tests/HeuristicLab-3.3/Samples/IslandGaTspSampleTest.cs
r16565 r17034 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 27 using HeuristicLab.Optimization.Operators; 27 using HeuristicLab.Persistence.Default.Xml;28 28 using HeuristicLab.Problems.Instances.TSPLIB; 29 29 using HeuristicLab.Problems.TravelingSalesman; … … 35 35 public class UnitTest1 { 36 36 private const string SampleFileName = "IslandGA_TSP"; 37 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 37 38 38 39 [TestMethod] … … 42 43 var ga = CreateIslandGaTspSample(); 43 44 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 44 XmlGenerator.Serialize(ga, path);45 serializer.Serialize(ga, path); 45 46 } 46 47 [TestMethod]
Note: See TracChangeset
for help on using the changeset viewer.