Randomized algorithm
Algorithm designed to use randomness from auxiliary inputs as part of its logic
A randomized algorithm is an algorithm that employs a degree of randomness as part of its logic or procedure. The algorithm typically uses uniformly random bits as an auxiliary input to guide its behavior, in the hope of achieving good performance in the "average case" over all possible choices of random determined by the random bits; thus either the running time, or the output (or both) are random variables.
Nº Q583461 ★
Common · History
Randomized algorithm
Algorithm designed to use randomness from auxiliary inputs as part of its logic
A randomized algorithm is an algorithm that employs a degree of randomness as part of its logic or procedure. The algorithm typically uses uniformly random bits as an auxiliary input to guide its behavior, in the hope of achieving good performance in the "average case" over all possible choices of random determined by the random bits; thus either the running time, or the output (or both) are random variables.
From Wikipedia
A randomized algorithm is an algorithm that employs a degree of randomness as part of its logic or procedure. The algorithm typically uses uniformly random bits as an auxiliary input to guide its behavior, in the hope of achieving good performance in the "average case" over all possible choices of random determined by the random bits; thus either the running time, or the output (or both) are random variables. There is a distinction between algorithms that use the random input so that they always terminate with the correct answer, but where the expected running time is finite (Las Vegas algorithms, for example Quicksort), and algorithms which have a chance of producing an incorrect result (Monte Carlo algorithms, for example the Monte Carlo algorithm for the MFAS problem) or fail to produce a result either by signaling a failure or failing to terminate. In some cases, probabilistic algorithms are the only practical means of solving a problem. In common practice, randomized algorithms are approximated using a pseudorandom number generator in place of a true source of random bits; such an implementation may deviate from the expected theoretical behavior and mathematical guarantees which may depend on the existence of an ideal true random number generator.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
Randomness
Apparent lack of pattern or predictability in events
Nº Q176640 ★★★
Not listed
-
R
Random
Family name
Nº Q48784090 ★
Not listed
-
R
Random seed
Value used to initialize a pseudo-random number generator
Nº Q1886131 ★
Not listed
-
Algorithmic bias
Systematic and repeatable errors in a computer system that create unfair outcomes, such as privileging one arbitrary group of users over others
Nº Q45253460 ★★★
Not listed
-
M
Monte Carlo algorithm
Randomized algorithm with some probability of producing the wrong result
Nº Q15238499 ★★
Not listed
-
G
Greedy algorithm
Algorithm that makes locally optimal choices in a sequence of steps with the goal of reaching a global optimum
Nº Q504353 ★★★
Not listed