Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/21/09 11:36:53 (16 years ago)
Author:
vdorfer
Message:

Created API documentation for HeuristicLab.IntVector namespace and changed some comments in HeuristicLab.Random and HeuristicLab.Selection.Offspring namespace(#331)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.IntVector/DiscreteCrossover.cs

    r1057 r1157  
    2626
    2727namespace HeuristicLab.IntVector {
     28  /// <summary>
     29  /// Discrete crossover for integer vectors.
     30  /// </summary>
    2831  public class DiscreteCrossover : IntVectorCrossoverBase {
     32    /// <inheritdoc select="summary"/>
    2933    public override string Description {
    3034      get { return "Discrete crossover for integer vectors."; }
    3135    }
    3236
     37    /// <summary>
     38    /// Performs a discrete crossover operation of the two given parents.
     39    /// </summary>
     40    /// <param name="random">A random number generator.</param>
     41    /// <param name="parent1">The first parent for the crossover operation.</param>
     42    /// <param name="parent2">The second parent for the crossover operation.</param>
     43    /// <returns>The newly created integer vector, resulting from the crossover operation.</returns>
    3344    public static int[] Apply(IRandom random, int[] parent1, int[] parent2) {
    3445      int length = parent1.Length;
     
    4455    }
    4556
     57    /// <summary>
     58    /// Performs a discrete crossover operation of the two given parents.
     59    /// </summary>
     60    /// <param name="scope">The current scope.</param>
     61    /// <param name="random">A random number generator.</param>
     62    /// <param name="parent1">The first parent for the crossover operation.</param>
     63    /// <param name="parent2">The second parent for the crossover operation.</param>
     64    /// <returns>The newly created integer vector, resulting from the crossover operation.</returns>
    4665    protected override int[] Cross(IScope scope, IRandom random, int[] parent1, int[] parent2) {
    4766      return Apply(random, parent1, parent2);
Note: See TracChangeset for help on using the changeset viewer.