Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/09 10:20:40 (15 years ago)
Author:
vdorfer
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.RealVector/RealVectorManipulatorBase.cs

    r2 r1184  
    2727
    2828namespace HeuristicLab.RealVector {
     29  /// <summary>
     30  /// Base class for all real vector manipulators.
     31  /// </summary>
    2932  public abstract class RealVectorManipulatorBase : OperatorBase {
     33    /// <summary>
     34    /// Initializes a new instance of <see cref="RealVectorManipulatorBase"/> with two variable infos
     35    /// (<c>Random</c> and <c>RealVector</c>).
     36    /// </summary>
    3037    public RealVectorManipulatorBase() {
    3138      AddVariableInfo(new VariableInfo("Random", "Pseudo random number generator", typeof(IRandom), VariableKind.In));
     
    3340    }
    3441
     42    /// <summary>
     43    /// Manipulates the real vector.
     44    /// </summary>
     45    /// <param name="scope">The current scope whose real vector to manipulate.</param>
     46    /// <returns><c>null</c>.</returns>
    3547    public override IOperation Apply(IScope scope) {
    3648      IRandom random = GetVariableValue<IRandom>("Random", scope, true);
     
    4052    }
    4153
     54    /// <summary>
     55    /// Manipulates the given real <paramref name="vector"/> with the given random number generator.
     56    /// </summary>
     57    /// <param name="scope">The current scope.</param>
     58    /// <param name="random">A random number generator.</param>
     59    /// <param name="vector">The real vector to manipulate.</param>
     60    /// <returns>The manipulated real vector.</returns>
    4261    protected abstract double[] Manipulate(IScope scope, IRandom random, double[] vector);
    4362  }
Note: See TracChangeset for help on using the changeset viewer.