<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ellipticcurve.info/Randomized_algorithm/history?feed=atom</id>
	<title>Randomized algorithm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ellipticcurve.info/Randomized_algorithm/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://www.ellipticcurve.info/Randomized_algorithm/history"/>
	<updated>2026-05-06T19:01:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://www.ellipticcurve.info/index.php?title=Randomized_algorithm&amp;diff=475&amp;oldid=prev</id>
		<title>Rational Point: sp</title>
		<link rel="alternate" type="text/html" href="https://www.ellipticcurve.info/index.php?title=Randomized_algorithm&amp;diff=475&amp;oldid=prev"/>
		<updated>2025-02-26T08:42:59Z</updated>

		<summary type="html">&lt;p&gt;sp&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:42, 26 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;An algorithm with one-sided error may be combined with an algorithm having one-sided complementary error to yield a Las Vegas type algorithm with zero-sided error.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;An algorithm with one-sided error may be combined with an algorithm having one-sided complementary error to yield a Las Vegas type algorithm with zero-sided error.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A Las Vegas algorithm always produces the correct result when and if it terminates, but termination is not guaranteed except in the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;probabalistic &lt;/del&gt;sense of a finite expected running time.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A Las Vegas algorithm always produces the correct result when and if it terminates, but termination is not guaranteed except in the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;probabilistic &lt;/ins&gt;sense of a finite expected running time.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Algorithms with one-sided error are subject to “Type I” errors only, but the probability of error is bounded away from one.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Algorithms with one-sided error are subject to “Type I” errors only, but the probability of error is bounded away from one.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rational Point</name></author>
	</entry>
	<entry>
		<id>https://www.ellipticcurve.info/index.php?title=Randomized_algorithm&amp;diff=474&amp;oldid=prev</id>
		<title>Rational Point: basic defs, refs</title>
		<link rel="alternate" type="text/html" href="https://www.ellipticcurve.info/index.php?title=Randomized_algorithm&amp;diff=474&amp;oldid=prev"/>
		<updated>2025-02-26T01:35:51Z</updated>

		<summary type="html">&lt;p&gt;basic defs, refs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;randomized algorithm&amp;#039;&amp;#039;&amp;#039; is generally classified by its &amp;#039;&amp;#039;&amp;#039;error&amp;#039;&amp;#039;&amp;#039; as one of four types:&lt;br /&gt;
&lt;br /&gt;
* zero-sided;&lt;br /&gt;
* one-sided;&lt;br /&gt;
* one-sided complementary; or&lt;br /&gt;
* two-sided.&lt;br /&gt;
&lt;br /&gt;
A randomized algorithm with zero-sided error is said to be of Las Vegas type, whereas it is of Monte Carlo type if it has a two-sided error.&lt;br /&gt;
&lt;br /&gt;
An algorithm with one-sided error may be combined with an algorithm having one-sided complementary error to yield a Las Vegas type algorithm with zero-sided error.&lt;br /&gt;
&lt;br /&gt;
A Las Vegas algorithm always produces the correct result when and if it terminates, but termination is not guaranteed except in the probabalistic sense of a finite expected running time.&lt;br /&gt;
&lt;br /&gt;
Algorithms with one-sided error are subject to “Type I” errors only, but the probability of error is bounded away from one.&lt;br /&gt;
&lt;br /&gt;
Algorithms with one-sided complementary error are subject to “Type II” errors only, and likewise the probability of error is bounded away from one.&lt;br /&gt;
&lt;br /&gt;
Algorithms with two-sided error are subject to both “Type I” and “Type II” errors &amp;lt;ref&amp;gt;https://www.simplypsychology.org/type_i_and_type_ii_errors.html&amp;lt;/ref&amp;gt;, but the conditional probabilities of “Type I” and “Type II” errors are strictly less than one half and bounded away from one half.&lt;br /&gt;
&lt;br /&gt;
An algorithm with one-sided, one-sided complementary, or two-sided error may be run repeatedly until any desired statistical significance of the result is attained.&lt;br /&gt;
&lt;br /&gt;
Complexity classes &amp;#039;&amp;#039;ZPP&amp;#039;&amp;#039;, &amp;#039;&amp;#039;RP&amp;#039;&amp;#039;, co-&amp;#039;&amp;#039;RP&amp;#039;&amp;#039; and &amp;#039;&amp;#039;BPP&amp;#039;&amp;#039; are defined based on the existence of randomized algorithms that run in polynomial time &amp;lt;ref&amp;gt;https://complexityzoo.net/Complexity_Zoo&amp;lt;/ref&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Rational Point</name></author>
	</entry>
</feed>