Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/15/11 16:32:43 (13 years ago)
Author:
svonolfe
Message:

Added support for multiple moves in tabu search (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMove.cs

    r6751 r6772  
    2828using HeuristicLab.Data;
    2929using HeuristicLab.Problems.VehicleRouting.Interfaces;
     30using HeuristicLab.Optimization;
    3031
    3132namespace HeuristicLab.Problems.VehicleRouting.Encodings.Potvin {
     
    8384    }
    8485
     86    public ITabuMaker GetTabuMaker() {
     87      return new PotvinCustomerRelocationMoveTabuMaker();
     88    }
     89
     90    public ITabuChecker GetTabuChecker() {
     91      return new PotvinCustomerRelocationMoveTabuCriterion();
     92    }
     93
     94    public ITabuChecker GetSoftTabuChecker() {
     95      PotvinCustomerRelocationMoveTabuCriterion tabuChecker = new PotvinCustomerRelocationMoveTabuCriterion();
     96      tabuChecker.UseAspirationCriterion.Value = true;
     97
     98      return tabuChecker;
     99    }
     100
    85101    #endregion
    86102  }
Note: See TracChangeset for help on using the changeset viewer.