source: branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/Interfaces/ISingleObjectiveOperator.cs @ 13339

Last change on this file since 13339 was 11971, checked in by abeham, 5 years ago

#2174: Added interfaces

File size: 2.6 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22namespace HeuristicLab.Optimization {
23  /// <summary>
24  /// This is only a marker interface to prevent operators that expect to work with a single quality value
25  /// and/or a single maximization flag to appear in multi-objective algorithms.
26  /// </summary>
27  /// <remarks>
28  /// Marker interfaces are typically not a good design, however specifying a reasonable non-empty common
29  /// interface for all single-objective operators is difficult. There are many different variants of
30  /// single-ojective operators with specific needs that can currently only be abstracted by an empty interface.
31  /// In the following, please find a list of different kinds of single-objective operators.
32  /// <list type="bullet">
33  ///   <item>
34  ///     <term>Evaluators</term>
35  ///     <description>These only need a quality parameter, but not a maximization parameter.</description>
36  ///   </item>
37  ///   <item>
38  ///     <term>Population-based operators</term>
39  ///     <description>These require the quality parameter to be a scope-tree lookup, e.g. analyzers, crossovers, single-objective replacers and selectors.</description>
40  ///   </item>
41  ///   <item>
42  ///     <term>Problem-specific operators</term>
43  ///     <description>They may perform multiple operations on a solution, evaluate and select without taking into account maximization or the evaluator, e.g. many improvement operators.</description>
44  ///   </item>
45  ///   <item>
46  ///     <term>Other single-objective operators</term>
47  ///     <description>They would need both a quality, and a maximization parameter, and may be population-based or not.</description>
48  ///   </item>
49  /// </list>
50  /// </remarks>
51  public interface ISingleObjectiveOperator { }
52}
Note: See TracBrowser for help on using the repository browser.