Jump to content

Las Vegas algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 212.144.171.55 (talk) at 16:51, 19 March 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A randomized algorithm which always outputs the correct answer. So the only variation is the running-time.
An alternative definition additionaly includes the restriction, that the average-case running-time must be finite.