Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/21/08 09:48:11 (16 years ago)
Author:
vdorfer
Message:

Created API documentation for HeuristicLab.Operators namespace (#331)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators/StochasticBranch.cs

    r2 r801  
    2727
    2828namespace HeuristicLab.Operators {
     29  /// <summary>
     30  /// Branch of (one or) two operators that have different probabilities to get executed.
     31  /// </summary>
    2932  public class StochasticBranch : 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="StochasticBranch"/> with two variable infos
     40    /// (<c>Random</c> and <c>Probability</c>).
     41    /// </summary>
    3442    public StochasticBranch()
    3543      : base() {
     
    3846    }
    3947
     48    /// <summary>
     49    /// Applies the operator of branch one with a specific probability on the given
     50    /// <paramref name="scope"/>, or - if existent - with another probability operator of branch two. 
     51    /// </summary>
     52    /// <param name="scope">The scope to apply the operators on.</param>
     53    /// <returns>A new <see cref="AtomicOperation"/> with either operator 1 or operator 2 applied
     54    /// to the given <paramref name="scope"/> or <c>null</c>.</returns>
    4055    public override IOperation Apply(IScope scope) {
    4156      IRandom random = GetVariableValue<IRandom>("Random", scope, true);
Note: See TracChangeset for help on using the changeset viewer.