Free cookie consent management tool by TermsFeed Policy Generator

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

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

File:
1 edited

Legend:

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

    r294 r1184  
    2727
    2828namespace HeuristicLab.RealVector {
     29  /// <summary>
     30  /// Michalewicz, Z. (1992). Genetic Algorithms + Data Structures = Evolution Programs<br/>
     31  /// Non-uniformly distributed change of one position of a real vector.
     32  /// </summary>
    2933  public class MichalewiczNonUniformOnePositionManipulator : RealVectorManipulatorBase {
     34    /// <inheritdoc select="summary"/>
    3035    public override string Description {
    3136      get { return
     
    3742    }
    3843
     44    /// <summary>
     45    /// Initializes a new instance of <see cref="MichalewiczNonUniformOnePositionManipulator"/> with five
     46    /// variable infos (<c>Minimum</c>, <c>Maximum</c>, <c>CurrentGeneration</c>, <c>MaximumGenerations</c>
     47    /// and <c>GenerationsDependency</c>).
     48    /// </summary>
    3949    public MichalewiczNonUniformOnePositionManipulator()
    4050      : base() {
     
    4959    }
    5060
     61    /// <summary>
     62    /// Performs a non uniformly distributed one position manipulation on the given
     63    /// real <paramref name="vector"/>, published by Z. Michalewicz, 1992.
     64    /// </summary>
     65    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     66    /// <param name="scope">The current scope.</param>
     67    /// <param name="random">The random number generator.</param>
     68    /// <param name="vector">The real vector to manipulate.</param>
     69    /// <returns>The manipulated real vector.</returns>
    5170    protected override double[] Manipulate(IScope scope, IRandom random, double[] vector) {
    5271      double min = GetVariableValue<DoubleData>("Minimum", scope, true).Data;
     
    5877    }
    5978
     79    /// <summary>
     80    /// Performs a non uniformly distributed one position manipulation on the given
     81    /// real <paramref name="vector"/>, published by Z. Michalewicz, 1992.
     82    /// </summary>
     83    /// <param name="random">The random number generator.</param>
     84    /// <param name="vector">The real vector to manipulate.</param>
     85    /// <param name="min">The minimum value of the sampling range for the vector element (inclusive).</param>
     86    /// <param name="max">The maximum value of the sampling range for the vector element (exclusive).</param>
     87    /// <param name="currentGeneration">The current generation of the algorithm.</param>
     88    /// <param name="maximumGenerations">Maximum number of generations.</param>
     89    /// <param name="generationsDependency">Specifies the degree of dependency on the number of generations.</param>
     90    /// <returns>The manipulated real vector.</returns>
    6091    public static double[] Apply(IRandom random, double[] vector, double min, double max, int currentGeneration, int maximumGenerations, int generationsDependency) {
    6192      int length = vector.Length;
Note: See TracChangeset for help on using the changeset viewer.