- Timestamp:
- 10/02/14 13:59:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs
r11410 r11411 66 66 /// <param name="random">The random number generator.</param> 67 67 /// <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> 68 69 /// <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) { 70 71 BinaryVector result; 71 72
Note: See TracChangeset
for help on using the changeset viewer.