Changeset 17120 for branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab-3.3/Samples/AlpsSampleTest.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/AlpsSampleTest.cs
r16565 r17120 22 22 using System.IO; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Algorithms.ALPS; 25 26 using HeuristicLab.Encodings.PermutationEncoding; 26 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using HeuristicLab.Persistence.Default.Xml;28 28 using HeuristicLab.Problems.DataAnalysis.Symbolic; 29 29 using HeuristicLab.Problems.DataAnalysis.Symbolic.Regression; … … 40 40 private const string SymRegSampleFileName = "ALPSGP_SymReg"; 41 41 42 private static readonly ProtoBufSerializer serializer = new ProtoBufSerializer(); 43 42 44 [TestMethod] 43 45 [TestCategory("Samples.Create")] … … 46 48 var alpsGa = CreateAlpsGaTspSample(); 47 49 string path = Path.Combine(SamplesUtils.SamplesDirectory, TspSampleFileName + SamplesUtils.SampleFileExtension); 48 XmlGenerator.Serialize(alpsGa, path);50 serializer.Serialize(alpsGa, path); 49 51 } 50 52 … … 55 57 var alpsGa = CreateAlpsGaSymRegSample(); 56 58 string path = Path.Combine(SamplesUtils.SamplesDirectory, SymRegSampleFileName + SamplesUtils.SampleFileExtension); 57 XmlGenerator.Serialize(alpsGa, path);59 serializer.Serialize(alpsGa, path); 58 60 } 59 61
Note: See TracChangeset
for help on using the changeset viewer.