Lably
Skip to content

Las Vegas algorithm

Type of randomized algorithm

  • 13 min read
  • 7 chapters

Related on Lably

Through Computing, Correctness (computer science) and Satisfiability

Systematic search methods for computationally hard problems, such as some variants of the Davis–Putnam algorithm for propositional satisfiability (SAT), also utilize non-deterministic decisions, and can thus also be considered Las Vegas algorithms.

History

Las Vegas algorithms were introduced by László Babai in 1979, in the context of the graph isomorphism problem, as a dual to Monte Carlo algorithms. Babai introduced the term "Las Vegas algorithm" alongside an example involving coin flips: the algorithm depends on a series of independent coin flips, and there is a small chance of failure (no result). However, in contrast to Monte Carlo algorithms, the Las Vegas algorithm can guarantee the correctness of any reported result.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Computing and communication