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

    r2 r850  
    2626
    2727namespace HeuristicLab.Permutation {
     28  /// <summary>
     29  /// Manipulates a permutation array by moving and reversing a randomly chosen interval of elements to another
     30  /// (randomly chosen) position in the array.
     31  /// </summary>
    2832  public class TranslocationInversionManipulator : PermutationManipulatorBase {
     33    /// <inheritdoc select="summary"/>
    2934    public override string Description {
    3035      get { return @"TODO\r\nOperator description still missing ..."; }
    3136    }
    3237
     38    /// <summary>
     39    /// Moves a randomly chosen interval of elements to another (randomly chosen) position in the given
     40    /// <paramref name="permutation"/> array and reverses it.
     41    /// </summary>
     42    /// <param name="random">The random number generator.</param>
     43    /// <param name="permutation">The permutation array to manipulate.</param>
     44    /// <returns>The new permuation array with the manipulated data.</returns>
    3345    public static int[] Apply(IRandom random, int[] permutation) {
    3446      int[] result = (int[])permutation.Clone();
     
    6476    }
    6577
     78    /// <summary>
     79    /// Moves a randomly chosen interval of elements to another (randomly chosen) position in the given
     80    /// <paramref name="permutation"/> array and reverses it.
     81    /// </summary>
     82    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     83    /// <param name="scope">The current scope.</param>
     84    /// <param name="random">The random number generator.</param>
     85    /// <param name="permutation">The permutation array to manipulate.</param>
     86    /// <returns>The new permuation array with the manipulated data.</returns>
    6687    protected override int[] Manipulate(IScope scope, IRandom random, int[] permutation) {
    6788      return Apply(random, permutation);
Note: See TracChangeset for help on using the changeset viewer.