wiki_research

personal research wiki
git clone https://a3nm.net/git/wiki_research/
Log | Files | Refs

las_vegas_algorithm (295B)


      1 # Las vegas algorithm
      2 
      3 https://en.wikipedia.org/wiki/Las_Vegas_algorithm
      4 
      5 always gives correct answer, but running time is random
      6 
      7 expected running time is finite
      8 
      9 Corresponds to the class [ZPP] (for [polynomial_time] [algorithms])
     10 
     11 Up: [algorithm_randomized]
     12 
     13 See also: [monte_carlo_algorithm]