#region License Information /* HeuristicLab * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * HeuristicLab is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HeuristicLab. If not, see . */ #endregion using HeuristicLab.Core; namespace HeuristicLab.Optimization { /// /// The basic interface that marks all move operators. /// /// /// A group of move operators that belong together should derive an interface from this one /// and implement the interface in each operator.
/// In an algorithm one can thus find out all move operators that belong together, by grouping operators /// according to the most specific interface derived from this interface that they implement.

/// A concrete example:
/// You have a solution representation MyRep and there you have a move MyRepMove that you want /// to make available to the friendly GUIs. So in MyRep you derive an interface IMyRepMoveOperator.
/// Now you need to implement at least three operators that handle these moves: A MoveGenerator, a MoveMaker, and a MoveEvaluator. /// Note: The MoveEvaluator should be implemented in the problem plugin if you choose to separate representation and problem.
/// In each of these operators you implement IMyRepMoveOperator as well as the appropriate operator specific interface. /// For a MoveGenerator that would be one of IExhaustiveMoveGenerator, ISingleMoveGenerator, /// or IMultiMoveGenerator, for a MoveMaker that would be IMoveMaker, and for a MoveEvaluator that would /// either be ISingleObjectiveMoveEvaluator or IMultiObjectiveMoveEvaluator.
/// If you have this you need to make sure that an instance of all your operators are loaded in the Operators collection of your IProblem /// and you can select them in the respective algorithms.

/// For Tabu Search support you will need two additional operators: A TabuChecker (e.g. derived from ), /// and a TabuMaker.

/// If you decide later that you want another move, e.g. MyRepMove2, you would do as before and group them under /// the interface IMyRepMove2Operator.

/// If you want to make use of multiple different moves, all your operators would need to know about all the moves that you plan /// to use.

/// Take a look at the Permutation and TSP plugin to see how this looks like in real code. ///
public interface IMoveOperator : IOperator { } }