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

    r102 r1184  
    2626
    2727namespace HeuristicLab.RealVector {
     28  /// <summary>
     29  /// Discrete crossover for real vectors: Selects randomly either the value of the first or the
     30  /// second parent.
     31  /// </summary>
    2832  public class DiscreteCrossover : RealVectorCrossoverBase {
     33    /// <inheritdoc select="summary"/>
    2934    public override string Description {
    3035      get { return "Discrete crossover for real vectors."; }
    3136    }
    3237
     38    /// <summary>
     39    /// Performs a discrete crossover operation of the two given parents.
     40    /// </summary>
     41    /// <param name="random">A random number generator.</param>
     42    /// <param name="parent1">The first parent for the crossover operation.</param>
     43    /// <param name="parent2">The second parent for the crossover operation.</param>
     44    /// <returns>The newly created real vector, resulting from the crossover operation.</returns>
    3345    public static double[] Apply(IRandom random, double[] parent1, double[] parent2) {
    3446      int length = parent1.Length;
     
    4456    }
    4557
     58    /// <summary>
     59    /// Performs a discrete crossover operation of the two given parents.
     60    /// </summary>
     61    /// <param name="scope">The current scope.</param>
     62    /// <param name="random">A random number generator.</param>
     63    /// <param name="parent1">The first parent for the crossover operation.</param>
     64    /// <param name="parent2">The second parent for the crossover operation.</param>
     65    /// <returns>The newly created real vector, resulting from the crossover operation.</returns>
    4666    protected override double[] Cross(IScope scope, IRandom random, double[] parent1, double[] parent2) {
    4767      return Apply(random, parent1, parent2);
Note: See TracChangeset for help on using the changeset viewer.