using HEAL.Attic;
#region License Information
/* HeuristicLab
* Copyright (C) 2002-2019 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
namespace HeuristicLab.Optimization {
[StorableType("365f0117-1f29-4bc2-8a76-4ee5676306a4")]
///
/// This is only a marker interface to prevent operators that expect to work with a single quality value
/// and/or a single maximization flag to appear in multi-objective algorithms.
///
///
/// Marker interfaces are typically not a good design, however specifying a reasonable non-empty common
/// interface for all single-objective operators is difficult. There are many different variants of
/// single-ojective operators with specific needs that can currently only be abstracted by an empty interface.
/// In the following, please find a list of different kinds of single-objective operators.
///
/// -
/// Evaluators
/// These only need a quality parameter, but not a maximization parameter.
///
/// -
/// Population-based operators
/// These require the quality parameter to be a scope-tree lookup, e.g. analyzers, crossovers, single-objective replacers and selectors.
///
/// -
/// Problem-specific operators
/// They may perform multiple operations on a solution, evaluate and select without taking into account maximization or the evaluator, e.g. many improvement operators.
///
/// -
/// Other single-objective operators
/// They would need both a quality, and a maximization parameter, and may be population-based or not.
///
///
///
public interface ISingleObjectiveOperator { }
}