Ignore:
Timestamp:
10/02/14 13:59:26 (5 years ago)
Author:
mkommend
Message:

#2253: Added default value for trueProbability and missing XML parameter comment in RandomBinaryVectorCreator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs

    r11410 r11411  
    6666    /// <param name="random">The random number generator.</param>
    6767    /// <param name="length">The length of the binary vector.</param>
     68    /// <param name="trueProbability">The propability for true to occur at a certain position in the binary vector</param>
    6869    /// <returns>The newly created binary vector.</returns>
    69     public static BinaryVector Apply(IRandom random, int length, double trueProbability) {
     70    public static BinaryVector Apply(IRandom random, int length, double trueProbability = 0.5) {
    7071      BinaryVector result;
    7172
Note: See TracChangeset for help on using the changeset viewer.