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/ConditionalBranch.cs

    r49 r801  
    2727
    2828namespace HeuristicLab.Operators {
     29  /// <summary>
     30  /// Branch of (one or)two operators whose executions depend on a specific condition.
     31  /// </summary>
    2932  public class ConditionalBranch : OperatorBase {
     33    /// <inheritdoc select="summary"/>
    3034    public override string Description {
    3135      get { return @"ConditionalBranch expects to have 1 or 2 sub-operators.
     
    3539    }
    3640
     41    /// <summary>
     42    /// Initializes a new instance of <see cref="ConditionalBranch"/> with one variable info
     43    /// (<c>Condition</c>).
     44    /// </summary>
    3745    public ConditionalBranch()
    3846      : base() {
     
    4048    }
    4149
     50    /// <summary>
     51    /// Applies the operator of branch one under a specific condition on the given
     52    /// <paramref name="scope"/>, or - if existent - operator of branch two if the condition could not
     53    /// be fulfilled.
     54    /// </summary>
     55    /// <param name="scope">The scope to apply the operators on.</param>
     56    /// <returns>A new <see cref="AtomicOperation"/> with either operator 1 or operator 2 applied
     57    /// to the given <paramref name="scope"/> or <c>null</c>.</returns>
    4258    public override IOperation Apply(IScope scope) {
    4359      BoolData resultData = GetVariableValue<BoolData>("Condition", scope, true);
Note: See TracChangeset for help on using the changeset viewer.