Free cookie consent management tool by TermsFeed Policy Generator

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

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

File:
1 edited

Legend:

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

    r2 r850  
    2626
    2727namespace HeuristicLab.Permutation {
     28  /// <summary>
     29  /// Manipulates a permutation array by moving randomly one element to another position in the array.
     30  /// </summary>
    2831  public class InsertionManipulator : PermutationManipulatorBase {
     32    /// <inheritdoc select="summary"/>
    2933    public override string Description {
    3034      get { return @"TODO\r\nOperator description still missing ..."; }
    3135    }
    3236
     37    /// <summary>
     38    /// Moves an randomly chosen element in the specified <paramref name="permutation"/> array
     39    /// to another randomly generated position.
     40    /// </summary>
     41    /// <param name="random">The random number generator.</param>
     42    /// <param name="permutation">The array to manipulate.</param>
     43    /// <returns>The new permuation array with the manipulated data.</returns>
    3344    public static int[] Apply(IRandom random, int[] permutation) {
    3445      int[] result = (int[])permutation.Clone();
     
    5869    }
    5970
     71    /// <summary>
     72    /// Moves an randomly chosen element in the specified <paramref name="permutation"/> array
     73    /// to another randomly generated position.
     74    /// </summary>
     75    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     76    /// <param name="scope">The current scope.</param>
     77    /// <param name="random">The random number generator.</param>
     78    /// <param name="permutation">The array to manipulate.</param>
     79    /// <returns>The new permuation array with the manipulated data.</returns>
    6080    protected override int[] Manipulate(IScope scope, IRandom random, int[] permutation) {
    6181      return Apply(random, permutation);
Note: See TracChangeset for help on using the changeset viewer.