Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/16/09 11:24:03 (16 years ago)
Author:
vdorfer
Message:

Created API documentation for HeuristicLab.Random, HeuristicLab.SGA and HeuristicLab.Selection.OffspringSelection namespace (#331)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Selection.OffspringSelection/OffspringAnalyzer.cs

    r806 r1153  
    2727
    2828namespace HeuristicLab.Selection.OffspringSelection {
     29  /// <summary>
     30  /// Analyzes the offspring in a given scope whether it is successful or not.
     31  /// </summary>
    2932  public class OffspringAnalyzer : OperatorBase {
     33    /// <inheritdoc select="summary"/>
    3034    public override string Description {
    3135      get { return @"TODO\r\nOperator description still missing ..."; }
    3236    }
    3337
     38    /// <summary>
     39    /// Initializes a new instance of <see cref="OffspringAnalyzer"/> with six variable infos
     40    /// (<c>Maximization</c>, <c>Quality</c>, <c>ParentQualities</c>, <c>SuccessfulChild</c>,
     41    /// <c>ComparisonFactor</c> and <c>ParentsCount</c>).
     42    /// </summary>
    3443    public OffspringAnalyzer() {
    3544      AddVariableInfo(new VariableInfo("Maximization", "Problem is a maximization problem", typeof(BoolData), VariableKind.In));
     
    4857    }
    4958
     59    /// <summary>
     60    /// Analyzes the offspring in the given scope whether the children are successful or not.
     61    /// </summary>
     62    /// <exception cref="InvalidOperationException">Thrown when <c>ParentsCount</c> smaller than 1.</exception>
     63    /// <exception cref="InvalidOperationException">Thrown when the number of children is not constant or
     64    /// smaller than 1.</exception>
     65    /// <param name="scope">The scope whose offspring should be analyzed.</param>
     66    /// <returns>The next operation or null.</returns>
    5067    public override IOperation Apply(IScope scope) {
    5168      bool maximize = GetVariableValue<BoolData>("Maximization", scope, true).Data;
Note: See TracChangeset for help on using the changeset viewer.