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

    r77 r1184  
    2828
    2929namespace HeuristicLab.RealVector {
     30  /// <summary>
     31  /// Base class for all real vector crossover operators.
     32  /// </summary>
    3033  public abstract class RealVectorCrossoverBase : CrossoverBase {
     34    /// <summary>
     35    /// Initializes a new instance of <see cref="RealVectorCrossoverBase"/> with one variable info
     36    /// (<c>RealVector</c>).
     37    /// </summary>
    3138    public RealVectorCrossoverBase()
    3239      : base() {
     
    3441    }
    3542
     43    /// <summary>
     44    /// Performs a crossover of two given parents.
     45    /// </summary>
     46    /// <param name="scope">The current scope.</param>
     47    /// <param name="random">A random number generator.</param>
     48    /// <param name="parent1">The first parent for crossover.</param>
     49    /// <param name="parent2">The second parent for crossover.</param>
     50    /// <param name="child">The resulting child scope.</param>
    3651    protected sealed override void Cross(IScope scope, IRandom random, IScope parent1, IScope parent2, IScope child) {
    3752      DoubleArrayData vector1 = parent1.GetVariableValue<DoubleArrayData>("RealVector", false);
     
    4459    }
    4560
     61    /// <summary>
     62    /// Performs a crossover of two given parents.
     63    /// </summary>
     64    /// <param name="scope">The current scope.</param>
     65    /// <param name="random">A random number generator.</param>
     66    /// <param name="parent1">The first parent for crossover.</param>
     67    /// <param name="parent2">The second parent for crossover.</param>
     68    /// <returns>The newly created real vector, resulting from the crossover operation.</returns>
    4669    protected abstract double[] Cross(IScope scope, IRandom random, double[] parent1, double[] parent2);
    4770  }
Note: See TracChangeset for help on using the changeset viewer.