Changeset 13187
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/VnsOpSampleTest.cs
r12742 r13187 37 37 [TestCategory("Samples.Create")] 38 38 [TestProperty("Time", "medium")] 39 public void CreateVns TspSampleTest() {40 var vns = CreateVns TspSample();39 public void CreateVnsOpSampleTest() { 40 var vns = CreateVnsOpSample(); 41 41 string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension); 42 42 XmlGenerator.Serialize(vns, path); … … 45 45 [TestCategory("Samples.Execute")] 46 46 [TestProperty("Time", "long")] 47 public void RunVns TspSampleTest() {48 var vns = CreateVns TspSample();47 public void RunVnsOpSampleTest() { 48 var vns = CreateVnsOpSample(); 49 49 vns.SetSeedRandomly = false; 50 50 SamplesUtils.RunAlgorithm(vns); … … 55 55 } 56 56 57 private VariableNeighborhoodSearch CreateVns TspSample() {57 private VariableNeighborhoodSearch CreateVnsOpSample() { 58 58 VariableNeighborhoodSearch vns = new VariableNeighborhoodSearch(); 59 59 #region Problem Configuration … … 75 75 76 76 opProblem.Name = "1_p64_t070"; 77 opProblem.Description = "Represents a symmetric Traveling Salesman Problem.";77 opProblem.Description = "Represents an instance of an orienteering problem."; 78 78 #endregion 79 79 #region Algorithm Configuration 80 vns.Name = "Variable Neighborhood Search - TSP";81 vns.Description = "A variable neighborhood search algorithm which solves a funny TSPinstance";80 vns.Name = "Variable Neighborhood Search - OP"; 81 vns.Description = "A variable neighborhood search algorithm which solves an orienteering problem instance"; 82 82 vns.Problem = opProblem; 83 83
Note: See TracChangeset
for help on using the changeset viewer.