Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/07/15 13:52:48 (9 years ago)
Author:
abeham
Message:

#2174:

  • Added ISingleObjectiveOperator and IMultiObjectiveOperator interfaces
    • Added interface to all operators that would fall in either of these categories (excluding MainLoop operators)
  • Added some checks in BasicProblem on whether the MultiEncoding is being used
    • A new event handler is added that reacts on encodings being removed or added to the MultiEncoding
  • Added code to remove the non-fit operators in (Single|Multi)ObjectiveBasicProblem
Location:
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/MultiVRPMoveOperator/MultiVRPMoveTabuMaker.cs

    r11171 r11970  
    3333  [Item("MultiVRPMoveTabuMaker", "A multi VRP move tabu maker.")]
    3434  [StorableClass]
    35   public class MultiVRPMoveTabuMaker : SingleSuccessorOperator, IMultiVRPMoveOperator, ITabuMaker, IGeneralVRPOperator {
     35  public class MultiVRPMoveTabuMaker : SingleSuccessorOperator, IMultiVRPMoveOperator, ITabuMaker, IGeneralVRPOperator, ISingleObjectiveOperator {
    3636    public ILookupParameter VRPMoveParameter {
    3737      get { return (ILookupParameter)Parameters["VRPMove"]; }
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/VRPMoveMaker.cs

    r11171 r11970  
    3232  [Item("VRPMoveMaker", "Performs a VRP move.")]
    3333  [StorableClass]
    34   public abstract class VRPMoveMaker : VRPMoveOperator, IMoveMaker {
     34  public abstract class VRPMoveMaker : VRPMoveOperator, IMoveMaker, ISingleObjectiveOperator {
    3535    public ILookupParameter<DoubleValue> QualityParameter {
    3636      get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; }
     
    9191          }
    9292        }
    93       }
    94       finally {
     93      } finally {
    9594        foreach (IParameter parameter in addedParameters) {
    9695          this.Parameters.Remove(parameter);
Note: See TracChangeset for help on using the changeset viewer.