<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hu">
	<id>https://vik.wiki/index.php?action=history&amp;feed=atom&amp;title=Rendszeroptimaliz%C3%A1l%C3%A1s%2C_17._t%C3%A9tel</id>
	<title>Rendszeroptimalizálás, 17. tétel - Laptörténet</title>
	<link rel="self" type="application/atom+xml" href="https://vik.wiki/index.php?action=history&amp;feed=atom&amp;title=Rendszeroptimaliz%C3%A1l%C3%A1s%2C_17._t%C3%A9tel"/>
	<link rel="alternate" type="text/html" href="https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;action=history"/>
	<updated>2026-05-17T20:03:36Z</updated>
	<subtitle>Az oldal laptörténete a wikiben</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=179385&amp;oldid=prev</id>
		<title>Szikszayl, 2014. március 13., 12:49-n</title>
		<link rel="alternate" type="text/html" href="https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=179385&amp;oldid=prev"/>
		<updated>2014-03-13T12:49:34Z</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;hu&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Régebbi változat&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;A lap 2014. március 13., 14:49-kori változata&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-l75&quot;&gt;75. sor:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;75. sor:&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;-- [[PallosPeter|Peti]] - 2006.12.18.&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;-- [[PallosPeter|Peti]] - 2006.12.18.&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;Category&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;InfoMsc&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;Kategória&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Mérnök informatikus MSc&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Szikszayl</name></author>
	</entry>
	<entry>
		<id>https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=172275&amp;oldid=prev</id>
		<title>Szikszayl, 2013. október 16., 12:43-n</title>
		<link rel="alternate" type="text/html" href="https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=172275&amp;oldid=prev"/>
		<updated>2013-10-16T12:43:26Z</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;hu&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Régebbi változat&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;A lap 2013. október 16., 14:43-kori változata&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-l1&quot;&gt;1. sor:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1. sor:&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;{{GlobalTemplate|Infoszak|RopiTetel17}}&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;==Polinomiális approximációs séma a RÉSZÖSSZEG problémára==&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;/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;/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;!! &lt;/del&gt;Polinomiális approximációs séma a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;RÉSZÖSSZEG&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= &lt;/del&gt;problémára&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.==&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;/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;__TOC__&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;/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;===[http://info.sch.bme.hu/document.php?cmd=download_proc&amp;amp;tmp_page=&amp;amp;doc_id=17258 Szkennelt leírás és bizonyítás az infositeon]=&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;/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;div&gt;===Polinomiális approximációs séma===&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;===Polinomiális approximációs séma===&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;&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;div&gt;*Def.*: egy probléma polinomiális approximációs sémával közelíthető, ha &amp;amp;forall;&amp;amp;epsilon;&amp;gt;0-ra van rá (1+&amp;amp;epsilon;)-approximáció.  &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;*Def.*: egy probléma polinomiális approximációs sémával közelíthető, ha &amp;amp;forall;&amp;amp;epsilon;&amp;gt;0-ra van rá (1+&amp;amp;epsilon;)-approximáció.  &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;Ez nem mindig elég, mert ha a közelítő algoritmus lépésszáma 2&amp;lt;sup&amp;gt;1/&amp;amp;epsilon;&amp;lt;/sup&amp;gt;n&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;, még mindig exponenciálisan hosszú ideig fut. &amp;lt;br&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;Ez nem mindig elég, mert ha a közelítő algoritmus lépésszáma 2&amp;lt;sup&amp;gt;1/&amp;amp;epsilon;&amp;lt;/sup&amp;gt;n&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;, még mindig exponenciálisan hosszú ideig fut. &amp;lt;br&amp;gt;&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-l16&quot;&gt;16. sor:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;7. sor:&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;===Részösszeg probléma===&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;===Részösszeg probléma===&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;&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;div&gt;Adott _A_ = {&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, ..., &amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;} és _t_. &amp;lt;br&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;Adott _A_ = {&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, ..., &amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;} és _t_. &amp;lt;br&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;Kérdés: létezik-e &amp;lt;i&amp;gt;B&amp;lt;/i&amp;gt;&amp;amp;sube;&amp;lt;i&amp;gt;A&amp;lt;/i&amp;gt; úgy, hogy &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; = _t_? &amp;lt;br&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;Kérdés: létezik-e &amp;lt;i&amp;gt;B&amp;lt;/i&amp;gt;&amp;amp;sube;&amp;lt;i&amp;gt;A&amp;lt;/i&amp;gt; úgy, hogy &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; = _t_? &amp;lt;br&amp;gt;&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-l22&quot;&gt;22. sor:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;12. sor:&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;===Részösszeg optimalizálási probléma===&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;===Részösszeg optimalizálási probléma===&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;&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;div&gt;Adott _A_ = {&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, ..., &amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;} és _t_. &amp;lt;br&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;Adott _A_ = {&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, ..., &amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;} és _t_. &amp;lt;br&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;Keressük &amp;lt;i&amp;gt;B&amp;lt;/i&amp;gt;&amp;amp;sube;&amp;lt;i&amp;gt;A&amp;lt;/i&amp;gt;-t úgy, hogy &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; maximális és &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; &amp;amp;le; _t_ legyen. &amp;lt;br&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;Keressük &amp;lt;i&amp;gt;B&amp;lt;/i&amp;gt;&amp;amp;sube;&amp;lt;i&amp;gt;A&amp;lt;/i&amp;gt;-t úgy, hogy &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; maximális és &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; &amp;amp;le; _t_ legyen. &amp;lt;br&amp;gt;&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-l29&quot;&gt;29. sor:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;18. sor:&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;===Közelítő algoritmus a részösszeg optimalizálási problémára===&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;===Közelítő algoritmus a részösszeg optimalizálási problémára===&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;&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;div&gt;*Tétel*: a probléma teljesen polinomiális sémával közelíthető.&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;*Tétel*: a probléma teljesen polinomiális sémával közelíthető.&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l87&quot;&gt;87. sor:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;75. sor:&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;-- [[PallosPeter|Peti]] - 2006.12.18.&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;-- [[PallosPeter|Peti]] - 2006.12.18.&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;/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;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;InfoMsc&lt;/ins&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;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Infoszak&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;!-- diff cache key my_wiki:diff:1.41:old-164884:rev-172275:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Szikszayl</name></author>
	</entry>
	<entry>
		<id>https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=164884&amp;oldid=prev</id>
		<title>Vbalu987: /* Közelítő algoritmus a részösszeg optimalizálási problémára */</title>
		<link rel="alternate" type="text/html" href="https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=164884&amp;oldid=prev"/>
		<updated>2013-04-24T15:16:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Közelítő algoritmus a részösszeg optimalizálási problémára&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;hu&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Régebbi változat&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;A lap 2013. április 24., 17:16-kori változata&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-l58&quot;&gt;58. sor:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;58. sor:&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;Def.: &amp;amp;delta;-val ritkítás&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;Def.: &amp;amp;delta;-val ritkítás&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;&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt; növekvő sorrendbe rendezett halmaz.&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;&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt; növekvő sorrendbe rendezett halmaz.&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;foreach (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;i&amp;gt;&lt;/del&gt;l&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/i&amp;gt;&amp;lt;big&amp;gt;&lt;/del&gt;&amp;amp;isin;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/big&amp;gt;&amp;lt;i&amp;gt;&lt;/del&gt;L&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/i&amp;gt;&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;foreach (l&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;&amp;amp;isin;L&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&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;&amp;lt;i&amp;gt;&lt;/del&gt;m&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/i&amp;gt; &lt;/del&gt;az &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;i&amp;gt;&lt;/del&gt;l&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/i&amp;gt;&lt;/del&gt;-et megelőző, halmazban hagyott elem, vagy ha nincs ilyen, 0.&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;&#039;&#039;&lt;/ins&gt;m&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; &lt;/ins&gt;az &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;l&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;-et megelőző, halmazban hagyott elem, vagy ha nincs ilyen, 0.&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;	if (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;i&amp;gt;&lt;/del&gt;l&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/i&amp;gt;&amp;amp;&lt;/del&gt;lt;m(1+&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;i&amp;gt;&lt;/del&gt;&amp;amp;delta;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/i&amp;gt;&lt;/del&gt;)) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;i&amp;gt;&lt;/del&gt;l&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/i&amp;gt;&lt;/del&gt;-et kidobjuk.&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;	if (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;l&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;lt;m(1+&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;&amp;amp;delta;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;)) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;l&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;-et kidobjuk.&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;}&amp;lt;/pre&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;}&amp;lt;/pre&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;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>Vbalu987</name></author>
	</entry>
	<entry>
		<id>https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=139679&amp;oldid=prev</id>
		<title>Unknown user: Új oldal, tartalma: „{{GlobalTemplate|Infoszak|RopiTetel17}}   ==!! Polinomiális approximációs séma a =RÉSZÖSSZEG= problémára.==  __TOC__  ===[http://info.sch.bme.hu/document.php?cm…”</title>
		<link rel="alternate" type="text/html" href="https://vik.wiki/index.php?title=Rendszeroptimaliz%C3%A1l%C3%A1s,_17._t%C3%A9tel&amp;diff=139679&amp;oldid=prev"/>
		<updated>2012-10-22T09:43:46Z</updated>

		<summary type="html">&lt;p&gt;Új oldal, tartalma: „{{GlobalTemplate|Infoszak|RopiTetel17}}   ==!! Polinomiális approximációs séma a =RÉSZÖSSZEG= problémára.==  __TOC__  ===[http://info.sch.bme.hu/document.php?cm…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Új lap&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{GlobalTemplate|Infoszak|RopiTetel17}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==!! Polinomiális approximációs séma a =RÉSZÖSSZEG= problémára.==&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===[http://info.sch.bme.hu/document.php?cmd=download_proc&amp;amp;tmp_page=&amp;amp;doc_id=17258 Szkennelt leírás és bizonyítás az infositeon]===&lt;br /&gt;
&lt;br /&gt;
===Polinomiális approximációs séma===&lt;br /&gt;
&lt;br /&gt;
*Def.*: egy probléma polinomiális approximációs sémával közelíthető, ha &amp;amp;forall;&amp;amp;epsilon;&amp;gt;0-ra van rá (1+&amp;amp;epsilon;)-approximáció. &lt;br /&gt;
Ez nem mindig elég, mert ha a közelítő algoritmus lépésszáma 2&amp;lt;sup&amp;gt;1/&amp;amp;epsilon;&amp;lt;/sup&amp;gt;n&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;, még mindig exponenciálisan hosszú ideig fut. &amp;lt;br&amp;gt;&lt;br /&gt;
*Def.*: egy probléma teljesen polinomiális approximációs sémával közelíthető, ha &amp;amp;forall;&amp;amp;epsilon;&amp;gt;0-ra van rá (1+&amp;amp;epsilon;)-approximáció, ami 1/&amp;amp;epsilon;-ban is polinomiális. &amp;lt;br&amp;gt;&lt;br /&gt;
*Pl.*: a metrikus utazó ügynök problémára nincs P approximációs séma, de az euklideszi utazó ügynök problémára van teljesen P approximációs séma.&lt;br /&gt;
&lt;br /&gt;
===Részösszeg probléma===&lt;br /&gt;
&lt;br /&gt;
Adott _A_ = {&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, ..., &amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;} és _t_. &amp;lt;br&amp;gt;&lt;br /&gt;
Kérdés: létezik-e &amp;lt;i&amp;gt;B&amp;lt;/i&amp;gt;&amp;amp;sube;&amp;lt;i&amp;gt;A&amp;lt;/i&amp;gt; úgy, hogy &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; = _t_? &amp;lt;br&amp;gt;&lt;br /&gt;
Speciális eset: partíció probléma, amikor _t_ = &amp;amp;Sigma;&amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;/2, még ez is NP-teljes.&lt;br /&gt;
&lt;br /&gt;
===Részösszeg optimalizálási probléma===&lt;br /&gt;
&lt;br /&gt;
Adott _A_ = {&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, ..., &amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;} és _t_. &amp;lt;br&amp;gt;&lt;br /&gt;
Keressük &amp;lt;i&amp;gt;B&amp;lt;/i&amp;gt;&amp;amp;sube;&amp;lt;i&amp;gt;A&amp;lt;/i&amp;gt;-t úgy, hogy &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; maximális és &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; &amp;amp;le; _t_ legyen. &amp;lt;br&amp;gt;&lt;br /&gt;
A feladat NP nehéz, mert a részösszeg probléma visszavezethető rá. Bizonyítás: ha találunk olyan a _B_ halmazt, amire &amp;amp;Sigma;&amp;lt;i&amp;gt;b&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; = _t_, akkor igen a válasz a részösszeg problémára, különben nem. &amp;lt;br&amp;gt;&lt;br /&gt;
A feladat nem NP-beli, mert nem eldöntési probléma, tehát nem is NP-teljes.&lt;br /&gt;
&lt;br /&gt;
===Közelítő algoritmus a részösszeg optimalizálási problémára===&lt;br /&gt;
&lt;br /&gt;
*Tétel*: a probléma teljesen polinomiális sémával közelíthető.&lt;br /&gt;
&lt;br /&gt;
A bizonyítás egy konkrét algoritmus lesz:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Pontos megoldást adó algoritmus:&lt;br /&gt;
&lt;br /&gt;
Tegyük fel, hogy &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;le; &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; &amp;amp;le; ... &amp;amp;le; &amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;.&lt;br /&gt;
Definiálunk két halmazsorozatot:&lt;br /&gt;
* &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; = {0}&lt;br /&gt;
* &amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;&amp;#039; = {&amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;+&amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; | &amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;&amp;lt;big&amp;gt;&amp;amp;isin;&amp;lt;/big&amp;gt;&amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;}&lt;br /&gt;
* &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;&amp;lt;i&amp;gt;i&amp;lt;/i&amp;gt;+1&amp;lt;/sub&amp;gt; = &amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; &amp;amp;cup; &amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;&amp;#039;&lt;br /&gt;
Röviden: &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;&amp;lt;i&amp;gt;i&amp;lt;/i&amp;gt;+1&amp;lt;/sub&amp;gt; = &amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; &amp;amp;cup; (&amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;+&amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;&amp;lt;i&amp;gt;i&amp;lt;/i&amp;gt;+1&amp;lt;/sub&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Például:&lt;br /&gt;
* &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;=3, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;=5, &amp;lt;i&amp;gt;a&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;=7&lt;br /&gt;
* &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; = {0}&lt;br /&gt;
* &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;&amp;#039; = {3}, &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; = {0,3}&lt;br /&gt;
* &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;#039; = {5,8}, &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = {0,3,5,8}&lt;br /&gt;
* &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&amp;#039; = {7,10,12,15}, &amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; = {0,3,5,7,8,10,12,15}&lt;br /&gt;
&lt;br /&gt;
Az optimális részletösszeg max{&amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;|&amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;&amp;lt;big&amp;gt;&amp;amp;isin;&amp;lt;/big&amp;gt;&amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt; &amp;lt;big&amp;gt;&amp;amp;and;&amp;lt;/big&amp;gt; &amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;&amp;amp;le;&amp;lt;i&amp;gt;t&amp;lt;/i&amp;gt;} lesz.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Polinomiális közelítő algoritmus:&lt;br /&gt;
&lt;br /&gt;
Egyrészt vegyük észre, hogy az &amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;&amp;#039; halmazokból nincs szükségünk a &amp;lt;i&amp;gt;t&amp;lt;/i&amp;gt;-nél nagyobb elemekre. Képezzük a halmazokat a következő módon: &amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;&amp;#039; = (&amp;lt;i&amp;gt;L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;+&amp;lt;i&amp;gt;a&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;/i&amp;gt;) &amp;amp;cap; [0..&amp;lt;i&amp;gt;t&amp;lt;/i&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
Def.: &amp;amp;delta;-val ritkítás&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt; növekvő sorrendbe rendezett halmaz.&lt;br /&gt;
foreach (&amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;&amp;lt;big&amp;gt;&amp;amp;isin;&amp;lt;/big&amp;gt;&amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;) {&lt;br /&gt;
	&amp;lt;i&amp;gt;m&amp;lt;/i&amp;gt; az &amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;-et megelőző, halmazban hagyott elem, vagy ha nincs ilyen, 0.&lt;br /&gt;
	if (&amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;&amp;amp;lt;m(1+&amp;lt;i&amp;gt;&amp;amp;delta;&amp;lt;/i&amp;gt;)) &amp;lt;i&amp;gt;l&amp;lt;/i&amp;gt;-et kidobjuk.&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A ritkítás után bármely két szomszédos elem hányadosa legalább 1+&amp;lt;i&amp;gt;&amp;amp;delta;&amp;lt;/i&amp;gt;. A ritkított halmaz mérete felülről becsülhető: |&amp;lt;i&amp;gt;L&amp;lt;/i&amp;gt;&amp;lt;sub&amp;gt;ritkított&amp;lt;/sub&amp;gt; &amp;amp;le; log&amp;lt;sub&amp;gt;1+&amp;lt;i&amp;gt;&amp;amp;delta;&amp;lt;/i&amp;gt;&amp;lt;/sub&amp;gt;&amp;lt;i&amp;gt;t&amp;lt;/i&amp;gt;+2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; *Tétel*: ha az algoritmus során a halmazok &amp;lt;i&amp;gt;t&amp;lt;/i&amp;gt;-nél nagyobb elemeit minden lépésben levágjuk és az eredményt &amp;lt;i&amp;gt;&amp;amp;delta;&amp;lt;/i&amp;gt;=&amp;lt;i&amp;gt;&amp;amp;epsilon;&amp;lt;/i&amp;gt;/2&amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;-vel ritkítjuk, (1+&amp;lt;i&amp;gt;&amp;amp;epsilon;&amp;lt;/i&amp;gt;)-approximációt kapunk a problémára, és a lépésszám &amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;-ben, log &amp;lt;i&amp;gt;t&amp;lt;/i&amp;gt;-ben és 1/&amp;lt;i&amp;gt;&amp;amp;epsilon;&amp;lt;/i&amp;gt;-ban is polinomiális lesz.&lt;br /&gt;
&lt;br /&gt;
*Biz.*: az algoritmus (1+&amp;lt;i&amp;gt;&amp;amp;epsilon;&amp;lt;/i&amp;gt;)-approximációs. %P%&lt;br /&gt;
&lt;br /&gt;
*Biz.*: az algoritmus lépésszáma mindhárom mennyiség szerint polinomiális.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \forall i \: |L_i| \le \log_{1+\frac{\epsilon}{2n}}t+2 = \frac{\ln t}{\ln (1+\frac{\epsilon}{2n})}+2 = O(\log t) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Másrészt az x&amp;amp;ge;-1-re érvényes x/(1+x) &amp;amp;le; ln(1+x) összefüggést kihasználva x=&amp;amp;epsilon;/2n helyettesítéssel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\forall i \: |L_i| \le&lt;br /&gt;
\frac{\ln t}{\ln (1+\frac{\epsilon}{2n})}+2 \le&lt;br /&gt;
\frac{(1+\epsilon/2n) \ln t}{\epsilon/2n}+2 =&lt;br /&gt;
\frac{(2n+\epsilon) \ln t}{\epsilon}+2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Az algoritmus során n db lista összefésülést kell végezni, aminek a komplexitása O(&amp;amp;sum;|L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;||) = O(n||L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;||). A fenti becslések alapján látszik, hogy O(n||L&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;) n-ben négyzetes, log(t)-ben lineáris, tehát mindkettőben polinomiális. Az 1/&amp;amp;epsilon; szerinti becslést órán lenyeltük. %P%&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- [[PallosPeter|Peti]] - 2006.12.18.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Infoszak]]&lt;/div&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
</feed>