Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13187


Ignore:
Timestamp:
11/16/15 21:22:48 (8 years ago)
Author:
abeham
Message:

#2446: merged r12812, r12836 to stable

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/VnsOpSampleTest.cs

    r12742 r13187  
    3737    [TestCategory("Samples.Create")]
    3838    [TestProperty("Time", "medium")]
    39     public void CreateVnsTspSampleTest() {
    40       var vns = CreateVnsTspSample();
     39    public void CreateVnsOpSampleTest() {
     40      var vns = CreateVnsOpSample();
    4141      string path = Path.Combine(SamplesUtils.SamplesDirectory, SampleFileName + SamplesUtils.SampleFileExtension);
    4242      XmlGenerator.Serialize(vns, path);
     
    4545    [TestCategory("Samples.Execute")]
    4646    [TestProperty("Time", "long")]
    47     public void RunVnsTspSampleTest() {
    48       var vns = CreateVnsTspSample();
     47    public void RunVnsOpSampleTest() {
     48      var vns = CreateVnsOpSample();
    4949      vns.SetSeedRandomly = false;
    5050      SamplesUtils.RunAlgorithm(vns);
     
    5555    }
    5656
    57     private VariableNeighborhoodSearch CreateVnsTspSample() {
     57    private VariableNeighborhoodSearch CreateVnsOpSample() {
    5858      VariableNeighborhoodSearch vns = new VariableNeighborhoodSearch();
    5959      #region Problem Configuration
     
    7575
    7676      opProblem.Name = "1_p64_t070";
    77       opProblem.Description = "Represents a symmetric Traveling Salesman Problem.";
     77      opProblem.Description = "Represents an instance of an orienteering problem.";
    7878      #endregion
    7979      #region Algorithm Configuration
    80       vns.Name = "Variable Neighborhood Search - TSP";
    81       vns.Description = "A variable neighborhood search algorithm which solves a funny TSP instance";
     80      vns.Name = "Variable Neighborhood Search - OP";
     81      vns.Description = "A variable neighborhood search algorithm which solves an orienteering problem instance";
    8282      vns.Problem = opProblem;
    8383
Note: See TracChangeset for help on using the changeset viewer.