Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/28/08 10:32:20 (15 years ago)
Author:
vdorfer
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Permutation/Swap3Manipulator.cs

    r2 r850  
    2626
    2727namespace HeuristicLab.Permutation {
     28  /// <summary>
     29  /// Manipulates a permutation array by swaping three randomly chosen elements.
     30  /// </summary>
    2831  public class Swap3Manipulator : PermutationManipulatorBase {
     32    /// <inheritdoc select="summary"/>
    2933    public override string Description {
    3034      get { return @"TODO\r\nOperator description still missing ..."; }
    3135    }
    3236
     37    /// <summary>
     38    /// Swaps three randomly chosen elements of the given <paramref name="permutation"/> array.
     39    /// </summary>
     40    /// <param name="random">The random number generator.</param>
     41    /// <param name="permutation">The permutation array to manipulate.</param>
     42    /// <returns>The new permuation array with the manipulated data.</returns>
    3343    public static int[] Apply(IRandom random, int[] permutation) {
    3444      int[] result = (int[])permutation.Clone();
     
    6171    }
    6272
     73    /// <summary>
     74    /// Swaps three randomly chosen elements of the given <paramref name="permutation"/> array.
     75    /// </summary>
     76    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     77    /// <param name="scope">The current scope.</param>
     78    /// <param name="random">The random number generator.</param>
     79    /// <param name="permutation">The permutation array to manipulate.</param>
     80    /// <returns>The new permuation array with the manipulated data.</returns>
    6381    protected override int[] Manipulate(IScope scope, IRandom random, int[] permutation) {
    6482      return Apply(random, permutation);
Note: See TracChangeset for help on using the changeset viewer.