Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
YBCA7 authored Feb 26, 2024
1 parent d73af73 commit 1b6bc4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ public MainWindow()
}

/// <summary>
/// Generates a random <see langword="int"/> value within the specified range, excluding the numbers in the given HashSet.
/// Generates a random <see cref="BigInteger"/> value within the specified range, excluding the numbers in the given HashSet.
/// </summary>
/// <remarks>
/// This method generates a random <see langword="int"/> value within the range specified by min and max, while ensuring that the generated number is not present in the provided HashSet. <br/>
/// This method generates a random <see cref="BigInteger"/> value within the range specified by min and max, while ensuring that the generated number is not present in the provided HashSet. <br/>
/// If a suitable number cannot be found within 10,000,000 iterations, a <see cref="NotImplementedException"/> is thrown.
/// </remarks>
/// <param name="min">The minimum value of the range.</param>
/// <param name="max">The maximum value of the range.</param>
/// <param name="iset">The HashSet containing the numbers to be excluded.</param>
/// <param name="r">The Random object used for generating random numbers.</param>
/// <returns>A random <see langword="int"/> value within the specified range, excluding the numbers in the HashSet.</returns>
/// <returns>A random <see cref="BigInteger"/> value within the specified range, excluding the numbers in the HashSet.</returns>
/// <exception cref="NotImplementedException">Thrown when the maximum number of iterations is reached without finding a suitable number.</exception>
private BigInteger Generate(BigInteger min, BigInteger max, HashSet<BigInteger> iset, Random r)
{
Expand Down

0 comments on commit 1b6bc4d

Please sign in to comment.