 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?action=history&amp;feed=atom&amp;title=Asymptotic_complexity_of_algorithms</id>
	<title>Asymptotic complexity of algorithms - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?action=history&amp;feed=atom&amp;title=Asymptotic_complexity_of_algorithms"/>
	<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;action=history"/>
	<updated>2026-04-04T18:05:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3811&amp;oldid=prev</id>
		<title>Weihe: /* Bounds on the asymtptotic complexity */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3811&amp;oldid=prev"/>
		<updated>2016-04-25T05:54:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Bounds on the asymtptotic complexity&lt;/span&gt;&lt;/span&gt;&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 05:54, 25 April 2016&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-l32&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&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;where &amp;quot;&amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt;&amp;quot; is one of &amp;quot;&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;&amp;quot;.&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;where &amp;quot;&amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt;&amp;quot; is one of &amp;quot;&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;&amp;quot;.&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'''Remark:'''&lt;/del&gt;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Asymptotic complexity analysis of an algorithm ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &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;div&gt;An asymptotic complexity analysis of an algorithm combines two aspects: (1) which case (worst, best, average) is to be analyzed and (2) which type of [[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;) is to be determined. Note that the case and the function class are two separate concepts, which are easily confused.&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 asymptotic complexity analysis of an algorithm combines two aspects: (1) which case (worst, best, average) is to be analyzed and (2) which type of [[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;) is to be determined. Note that the case and the function class are two separate concepts, which are easily confused.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3810&amp;oldid=prev</id>
		<title>Weihe: /* Bounds on the asymtptotic complexity */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3810&amp;oldid=prev"/>
		<updated>2016-04-24T19:43:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Bounds on the asymtptotic complexity&lt;/span&gt;&lt;/span&gt;&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 19:43, 24 April 2016&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-l31&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&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;# in the average case with respect to &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt;, if &amp;lt;math&amp;gt;f_P\in\oplus(g)&amp;lt;/math&amp;gt;,&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;# in the average case with respect to &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt;, if &amp;lt;math&amp;gt;f_P\in\oplus(g)&amp;lt;/math&amp;gt;,&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;div&gt;where &amp;quot;&amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt;&amp;quot; is one of &amp;quot;&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;&amp;quot;.&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;where &amp;quot;&amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt;&amp;quot; is one of &amp;quot;&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&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;div&gt;'''Remark:'''&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;'''Remark:'''&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;div&gt;An asymptotic complexity analysis of an algorithm combines two aspects: (1) which case (worst, best, average) is to be analyzed and (2) which type of [[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;) is to be determined. Note that the case and the function class are two separate concepts, which are easily confused.&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 asymptotic complexity analysis of an algorithm combines two aspects: (1) which case (worst, best, average) is to be analyzed and (2) which type of [[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;) is to be determined. Note that the case and the function class are two separate concepts, which are easily confused.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3809&amp;oldid=prev</id>
		<title>Weihe at 19:43, 24 April 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3809&amp;oldid=prev"/>
		<updated>2016-04-24T19:43:32Z</updated>

		<summary type="html">&lt;p&gt;&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 19:43, 24 April 2016&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-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&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;## In the '''best case''': by the function &amp;lt;math&amp;gt;f_\min:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\min}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''minimum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&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;## In the '''best case''': by the function &amp;lt;math&amp;gt;f_\min:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\min}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''minimum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&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;div&gt;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&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;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&lt;/div&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'''Remark:'''&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;An asymptotic complexity analysis of an algorithm combines two aspects: (1) which case (worst, best, average) is to be analyzed and (2) which type of [[Asymptotic comparison of functions|function class]] (&amp;lt;math&gt;\mathcal{O}&amp;lt;/math&gt;, &amp;lt;math&gt;\Omega&amp;lt;/math&gt;, &amp;lt;math&gt;\Theta&amp;lt;/math&gt;, &amp;lt;math&gt;o&amp;lt;/math&gt;) is to be determined. Note that the case and the function class are two separate concepts, which are easily confused.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;== Bounds on the asymtptotic complexity ==&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;== Bounds on the asymtptotic complexity ==&lt;/div&gt;&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-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&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;# in the average case with respect to &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt;, if &amp;lt;math&amp;gt;f_P\in\oplus(g)&amp;lt;/math&amp;gt;,&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;# in the average case with respect to &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt;, if &amp;lt;math&amp;gt;f_P\in\oplus(g)&amp;lt;/math&amp;gt;,&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;div&gt;where &amp;quot;&amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt;&amp;quot; is one of &amp;quot;&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;&amp;quot;.&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;where &amp;quot;&amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt;&amp;quot; is one of &amp;quot;&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;&amp;quot;, &amp;quot;&amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'''Remark:'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;An asymptotic complexity analysis of an algorithm combines two aspects: (1) which case (worst, best, average) is to be analyzed and (2) which type of [[Asymptotic comparison of functions|function class]] (&amp;lt;math&gt;\mathcal{O}&amp;lt;/math&gt;, &amp;lt;math&gt;\Omega&amp;lt;/math&gt;, &amp;lt;math&gt;\Theta&amp;lt;/math&gt;, &amp;lt;math&gt;o&amp;lt;/math&gt;) is to be determined. Note that the case and the function class are two separate concepts, which are easily confused.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3808&amp;oldid=prev</id>
		<title>Weihe: /* Asymptotic complexity of an algorithm */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3808&amp;oldid=prev"/>
		<updated>2016-04-24T19:41:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic complexity of an algorithm&lt;/span&gt;&lt;/span&gt;&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 19:41, 24 April 2016&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-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&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;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&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;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&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;div&gt;'''Remark:'''&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;'''Remark:'''&lt;/div&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;An asymptotic complexity analysis of an algorithm combines two aspects: which case (worst, best, average) and which [[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;. Note that the case and the function class are two separate concepts, which are easily confused.&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;An asymptotic complexity analysis of an algorithm combines two aspects: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(1) &lt;/ins&gt;which case (worst, best, average) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is to be analyzed &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(2) &lt;/ins&gt;which &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;type of &lt;/ins&gt;[[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;) is to be determined&lt;/ins&gt;. Note that the case and the function class are two separate concepts, which are easily confused.&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;== Bounds on the asymtptotic complexity ==&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;== Bounds on the asymtptotic complexity ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3807&amp;oldid=prev</id>
		<title>Weihe: /* Asymptotic complexity of an algorithm */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3807&amp;oldid=prev"/>
		<updated>2016-04-24T19:40:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic complexity of an algorithm&lt;/span&gt;&lt;/span&gt;&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 19:40, 24 April 2016&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-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&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;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&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;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&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;div&gt;'''Remark:'''&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;'''Remark:'''&lt;/div&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;An asymptotic complexity analysis of an algorithm combines two aspects: which case (worst, best, average) and which [[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;. Note that the case and the function class are two separate concepts, which are &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;frequently &lt;/del&gt;confused.&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;An asymptotic complexity analysis of an algorithm combines two aspects: which case (worst, best, average) and which [[Asymptotic comparison of functions|function class]] (&amp;lt;math&amp;gt;\mathcal{O}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Theta&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/ins&gt;math&amp;gt;, &amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt;. Note that the case and the function class are two separate concepts, which are &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;easily &lt;/ins&gt;confused.&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;== Bounds on the asymtptotic complexity ==&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;== Bounds on the asymtptotic complexity ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3806&amp;oldid=prev</id>
		<title>Weihe: /* Asymptotic complexity of an algorithm */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3806&amp;oldid=prev"/>
		<updated>2016-04-24T19:40:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic complexity of an algorithm&lt;/span&gt;&lt;/span&gt;&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 19:40, 24 April 2016&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-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&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;## In the '''best case''': by the function &amp;lt;math&amp;gt;f_\min:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\min}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''minimum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&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;## In the '''best case''': by the function &amp;lt;math&amp;gt;f_\min:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\min}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''minimum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&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;div&gt;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&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;## In the '''average case''': For this case, a [http://en.wikipedia.org/wiki/Probability_distribution probability distribution] &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt; over each set &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is required. For short, let &amp;lt;math&amp;gt;P:=(P_{n_1,\ldots,n_k})_{n_1,\ldots,n_k\in\mathbb{N}}&amp;lt;/math&amp;gt;. Then the asymptotic average complexity is the function &amp;lt;math&amp;gt;f_P:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_P(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''expected'' number of operations executed by the algorithm, taken over all instances in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;, with respect to the distribution &amp;lt;math&amp;gt;P_{n_1,\ldots,n_k}&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'''Remark:'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;An asymptotic complexity analysis of an algorithm combines two aspects: which case (worst, best, average) and which [[Asymptotic comparison of functions|function class]] (&amp;lt;math&gt;\mathcal{O}&amp;lt;/math&gt;, &amp;lt;math&gt;\Omega&amp;lt;/math&gt;, &amp;lt;math&gt;\Theta&amp;lt;math&gt;, &amp;lt;math&gt;o&amp;lt;/math&gt;. Note that the case and the function class are two separate concepts, which are frequently confused.&lt;/ins&gt;&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;== Bounds on the asymtptotic complexity ==&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;== Bounds on the asymtptotic complexity ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3805&amp;oldid=prev</id>
		<title>Weihe: /* Asymptotic complexity of an algorithm */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3805&amp;oldid=prev"/>
		<updated>2016-04-24T19:29:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic complexity of an algorithm&lt;/span&gt;&lt;/span&gt;&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 19:29, 24 April 2016&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-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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;== Asymptotic complexity of an algorithm ==&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;== Asymptotic complexity of an algorithm ==&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;# For a selection of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; characterizing parameters for an [[Algorithms and correctness#Algorithmic problem|algorithmic problem]], let &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; denote the set of all [Algorithms and correctness#Algorithmic problem|instances] for which these parameters assume the values &amp;lt;math&amp;gt;n_1,\ldots,n_k&amp;lt;/math&amp;gt;.&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;# For a selection of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; characterizing parameters for an [[Algorithms and correctness#Algorithmic problem|algorithmic problem]], let &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; denote the set of all &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/ins&gt;[Algorithms and correctness#Algorithmic problem|instances&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;] for which these parameters assume the values &amp;lt;math&amp;gt;n_1,\ldots,n_k&amp;lt;/math&amp;gt;.&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;div&gt;# For an [[Algorithms and correctness#Algorithm|algorithm]] for this algorithmic problem,  the '''asymptotic complexity''' of the algorithm with respect to this selection of characterizing parameters is defined as follows.&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;# For an [[Algorithms and correctness#Algorithm|algorithm]] for this algorithmic problem,  the '''asymptotic complexity''' of the algorithm with respect to this selection of characterizing parameters is defined as follows.&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;div&gt;## In the '''worst case''': by the function &amp;lt;math&amp;gt;f_\max:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\max} (n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''maximum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&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;## In the '''worst case''': by the function &amp;lt;math&amp;gt;f_\max:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\max} (n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''maximum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3804&amp;oldid=prev</id>
		<title>Weihe: /* Asymptotic complexity of an algorithm */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3804&amp;oldid=prev"/>
		<updated>2016-04-24T19:28:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic complexity of an algorithm&lt;/span&gt;&lt;/span&gt;&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 19:28, 24 April 2016&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-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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;== Asymptotic complexity of an algorithm ==&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;== Asymptotic complexity of an algorithm ==&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;# For a selection of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; characterizing parameters for an [[Algorithms and correctness#Algorithmic problem|algorithmic problem]], let &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; denote the set of all instances for which these parameters assume the values &amp;lt;math&amp;gt;n_1,\ldots,n_k&amp;lt;/math&amp;gt;.&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;# For a selection of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; characterizing parameters for an [[Algorithms and correctness#Algorithmic problem|algorithmic problem]], let &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt; denote the set of all &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[Algorithms and correctness#Algorithmic problem|&lt;/ins&gt;instances&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;] &lt;/ins&gt;for which these parameters assume the values &amp;lt;math&amp;gt;n_1,\ldots,n_k&amp;lt;/math&amp;gt;.&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;div&gt;# For an [[Algorithms and correctness#Algorithm|algorithm]] for this algorithmic problem,  the '''asymptotic complexity''' of the algorithm with respect to this selection of characterizing parameters is defined as follows.&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;# For an [[Algorithms and correctness#Algorithm|algorithm]] for this algorithmic problem,  the '''asymptotic complexity''' of the algorithm with respect to this selection of characterizing parameters is defined as follows.&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;div&gt;## In the '''worst case''': by the function &amp;lt;math&amp;gt;f_\max:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\max} (n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''maximum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&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;## In the '''worst case''': by the function &amp;lt;math&amp;gt;f_\max:\mathbb{N}^k\rightarrow\mathbb{R}^+&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_{\max} (n_1,\ldots,n_k)&amp;lt;/math&amp;gt; is the ''maximum'' number of operations executed by the algorithm for any instance in &amp;lt;math&amp;gt;\mathcal{I}(n_1,\ldots,n_k)&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3802&amp;oldid=prev</id>
		<title>Weihe: /* Asymptotic complexity vs. run time */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3802&amp;oldid=prev"/>
		<updated>2016-04-24T19:25:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic complexity vs. run time&lt;/span&gt;&lt;/span&gt;&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 19:25, 24 April 2016&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;== Asymptotic complexity vs. run time ==&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;== Asymptotic complexity vs. run 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; 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;# Roughly speaking, the run time of an algorithm is measured by the number of [[Algorithms and correctness#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Operations and instructions|&lt;/del&gt;Instructions, operations and subroutines]] executed by the machine.&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;# Roughly speaking, the run time of an algorithm is measured by the number of [[Algorithms and correctness#Instructions, operations and subroutines&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|operations&lt;/ins&gt;]] executed by the machine.&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;div&gt;# However, in theoretical considerations, the run time is estimated by the algorithm's '''asymptotic complexity'''. In [[Asymptotic comparison of functions|asymptotic]] considerations, constant multiplicative factors are completely disregarded. For that, it does not matter how fast the machine and how smart the algorithm's implementation is.&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;# However, in theoretical considerations, the run time is estimated by the algorithm's '''asymptotic complexity'''. In [[Asymptotic comparison of functions|asymptotic]] considerations, constant multiplicative factors are completely disregarded. For that, it does not matter how fast the machine and how smart the algorithm's implementation is.&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;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3800&amp;oldid=prev</id>
		<title>Weihe: /* Asymptotic complexity vs. run time */</title>
		<link rel="alternate" type="text/html" href="https://wiki.algo.informatik.tu-darmstadt.de/index.php?title=Asymptotic_complexity_of_algorithms&amp;diff=3800&amp;oldid=prev"/>
		<updated>2016-04-24T19:24:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic complexity vs. run time&lt;/span&gt;&lt;/span&gt;&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 19:24, 24 April 2016&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;== Asymptotic complexity vs. run time ==&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;== Asymptotic complexity vs. run 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; 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;# Roughly speaking, the run time of an algorithm is measured by the number of [[Algorithms and correctness#Operations and instructions|operations]] executed by the machine.&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;# Roughly speaking, the run time of an algorithm is measured by the number of [[Algorithms and correctness#Operations and instructions|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Instructions, &lt;/ins&gt;operations &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and subroutines&lt;/ins&gt;]] executed by the machine.&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;div&gt;# However, in theoretical considerations, the run time is estimated by the algorithm's '''asymptotic complexity'''. In [[Asymptotic comparison of functions|asymptotic]] considerations, constant multiplicative factors are completely disregarded. For that, it does not matter how fast the machine and how smart the algorithm's implementation is.&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;# However, in theoretical considerations, the run time is estimated by the algorithm's '''asymptotic complexity'''. In [[Asymptotic comparison of functions|asymptotic]] considerations, constant multiplicative factors are completely disregarded. For that, it does not matter how fast the machine and how smart the algorithm's implementation is.&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;/table&gt;</summary>
		<author><name>Weihe</name></author>
	</entry>
</feed>