<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="th">
	<id>https://theory.cpe.ku.ac.th/wiki/index.php?action=history&amp;feed=atom&amp;title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552%2F%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F%2F%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1</id>
	<title>418531 ภาคต้น 2552/โจทย์ปัญหาอัลกอริทึมเกี่ยวกับกราฟ/เฉลยข้อ 6.1 - ประวัติรุ่นแก้ไข</title>
	<link rel="self" type="application/atom+xml" href="https://theory.cpe.ku.ac.th/wiki/index.php?action=history&amp;feed=atom&amp;title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552%2F%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F%2F%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1"/>
	<link rel="alternate" type="text/html" href="https://theory.cpe.ku.ac.th/wiki/index.php?title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552/%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F/%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1&amp;action=history"/>
	<updated>2026-04-18T20:33:54Z</updated>
	<subtitle>ประวัติรุ่นแก้ไขของหน้านี้ในวิกิ</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://theory.cpe.ku.ac.th/wiki/index.php?title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552/%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F/%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1&amp;diff=7446&amp;oldid=prev</id>
		<title>Cardcaptor เมื่อ 13:46, 16 กันยายน 2552</title>
		<link rel="alternate" type="text/html" href="https://theory.cpe.ku.ac.th/wiki/index.php?title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552/%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F/%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1&amp;diff=7446&amp;oldid=prev"/>
		<updated>2009-09-16T13:46:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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;th&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 13:46, 16 กันยายน 2552&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-l2&quot; &gt;แถว 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#039;&amp;#039;&amp;#039;lemma:&amp;#039;&amp;#039;&amp;#039; รัน &amp;lt;math&amp;gt;\mathrm{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DFSALL&lt;/del&gt;} \,&amp;lt;/math&amp;gt; บนกราฟ &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ใดๆ  ถ้า &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; เป็น DAG แล้ว จะไม่มี edge ใดเป็น back edge เลย&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#039;&amp;#039;&amp;#039;lemma:&amp;#039;&amp;#039;&amp;#039; รัน &amp;lt;math&amp;gt;\mathrm{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFS&lt;/ins&gt;} \,&amp;lt;/math&amp;gt; บนกราฟ &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ใดๆ  ถ้า &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; เป็น DAG แล้ว จะไม่มี edge ใดเป็น back edge เลย&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;#039;&amp;#039;&amp;#039;พิสูจน์:&amp;#039;&amp;#039;&amp;#039; ข้อความในโจทย์สมมูลกับข้อความที่ว่า &amp;quot;ถ้ามี back edge อย่างน้อยหนึ่ง edge แล้ว &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; จะไม่เป็น DAG&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;#039;&amp;#039;&amp;#039;พิสูจน์:&amp;#039;&amp;#039;&amp;#039; ข้อความในโจทย์สมมูลกับข้อความที่ว่า &amp;quot;ถ้ามี back edge อย่างน้อยหนึ่ง edge แล้ว &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; จะไม่เป็น DAG&amp;quot;&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:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;เราได้ว่ามีความเป็นไปได้อยู่สองกรณี&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;เราได้ว่ามีความเป็นไปได้อยู่สองกรณี&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;# &amp;lt;math&amp;gt;\mathrm{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DFSALL&lt;/del&gt;}(u) \,&amp;lt;/math&amp;gt; ถูกเรียกก่อน &amp;lt;math&amp;gt;\mathrm{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DFSALL&lt;/del&gt;}(v) \,&amp;lt;/math&amp;gt;: ในกรณีนี้ เนื่องจากเรารู้ว่ามี path จาก &amp;lt;math&amp;gt;u \,&amp;lt;/math&amp;gt; ไปยัง &amp;lt;math&amp;gt;v \,&amp;lt;/math&amp;gt; แน่นอน (เราสามารถใช้ edge &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เป็น path นั้นได้) ทำให้เราได้ว่า &amp;lt;math&amp;gt;\mathrm{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DFSALL&lt;/del&gt;}(v) \,&amp;lt;/math&amp;gt; จะต้องถูกเรียกและทำงานเสร็จก่อนที่ &amp;lt;math&amp;gt;\mathrm{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DFSALL&lt;/del&gt;}(u) \,&amp;lt;/math&amp;gt; จะทำงานเสร็จ ฉะนั้น &amp;lt;math&amp;gt;\mathrm{post}[u] &amp;gt; \mathrm{post}[v] \,&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;# &amp;lt;math&amp;gt;\mathrm{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFS&lt;/ins&gt;}(u) \,&amp;lt;/math&amp;gt; ถูกเรียกก่อน &amp;lt;math&amp;gt;\mathrm{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFS&lt;/ins&gt;}(v) \,&amp;lt;/math&amp;gt;: ในกรณีนี้ เนื่องจากเรารู้ว่ามี path จาก &amp;lt;math&amp;gt;u \,&amp;lt;/math&amp;gt; ไปยัง &amp;lt;math&amp;gt;v \,&amp;lt;/math&amp;gt; แน่นอน (เราสามารถใช้ edge &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เป็น path นั้นได้) ทำให้เราได้ว่า &amp;lt;math&amp;gt;\mathrm{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFS&lt;/ins&gt;}(v) \,&amp;lt;/math&amp;gt; จะต้องถูกเรียกและทำงานเสร็จก่อนที่ &amp;lt;math&amp;gt;\mathrm{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFS&lt;/ins&gt;}(u) \,&amp;lt;/math&amp;gt; จะทำงานเสร็จ ฉะนั้น &amp;lt;math&amp;gt;\mathrm{post}[u] &amp;gt; \mathrm{post}[v] \,&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;# &amp;lt;math&amp;gt;\mathrm{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DFSALL&lt;/del&gt;}(u) \,&amp;lt;/math&amp;gt; ถูกเรียกหลังจากที่ &amp;lt;math&amp;gt;\mathrm{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;DFSALL&lt;/del&gt;}(v) \,&amp;lt;/math&amp;gt; ถูกเรียก ในกรณีนี้เราจะได้ว่า &amp;lt;math&amp;gt;\mathrm{pre}[v] &amp;lt; \mathrm{pre}[u] \,&amp;lt;/math&amp;gt; นอกจากนี้เราจะได้ว่า &amp;lt;math&amp;gt;\mathrm{post}[v] \,&amp;lt;/math&amp;gt; จะต้องมีค่าน้อยกว่า &amp;lt;math&amp;gt;\mathrm{post}[u] \,&amp;lt;/math&amp;gt; ด้วย มิเช่นนั้นเราจะได้ว่า  &amp;lt;math&amp;gt;\mathrm{pre}[v] &amp;lt; \mathrm{pre}[u] &amp;lt; \mathrm{post}[u] &amp;lt; \mathrm{post}[v] \,&amp;lt;/math&amp;gt; ซึ่งหมายความว่า &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เป็น back edge (ใช้ความรู้จากข้อ 4.3 และ 4.4) ใน DAG ทำให้เกิดข้อขัดแย้งขึ้น&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;# &amp;lt;math&amp;gt;\mathrm{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFS&lt;/ins&gt;}(u) \,&amp;lt;/math&amp;gt; ถูกเรียกหลังจากที่ &amp;lt;math&amp;gt;\mathrm{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;DFS&lt;/ins&gt;}(v) \,&amp;lt;/math&amp;gt; ถูกเรียก ในกรณีนี้เราจะได้ว่า &amp;lt;math&amp;gt;\mathrm{pre}[v] &amp;lt; \mathrm{pre}[u] \,&amp;lt;/math&amp;gt; นอกจากนี้เราจะได้ว่า &amp;lt;math&amp;gt;\mathrm{post}[v] \,&amp;lt;/math&amp;gt; จะต้องมีค่าน้อยกว่า &amp;lt;math&amp;gt;\mathrm{post}[u] \,&amp;lt;/math&amp;gt; ด้วย มิเช่นนั้นเราจะได้ว่า  &amp;lt;math&amp;gt;\mathrm{pre}[v] &amp;lt; \mathrm{pre}[u] &amp;lt; \mathrm{post}[u] &amp;lt; \mathrm{post}[v] \,&amp;lt;/math&amp;gt; ซึ่งหมายความว่า &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เป็น back edge (ใช้ความรู้จากข้อ 4.3 และ 4.4) ใน DAG ทำให้เกิดข้อขัดแย้งขึ้น&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cardcaptor</name></author>
		
	</entry>
	<entry>
		<id>https://theory.cpe.ku.ac.th/wiki/index.php?title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552/%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F/%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1&amp;diff=7439&amp;oldid=prev</id>
		<title>Cardcaptor เมื่อ 12:59, 16 กันยายน 2552</title>
		<link rel="alternate" type="text/html" href="https://theory.cpe.ku.ac.th/wiki/index.php?title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552/%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F/%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1&amp;diff=7439&amp;oldid=prev"/>
		<updated>2009-09-16T12:59:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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;th&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 12:59, 16 กันยายน 2552&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:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;ขั้นแรกเราจะทำการพิสูจน์ lemma ต่อไปนี้&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;ขั้นแรกเราจะทำการพิสูจน์ lemma ต่อไปนี้&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;#039;&amp;#039;&amp;#039;lemma:&amp;#039;&amp;#039;&amp;#039; รัน &amp;lt;math&amp;gt;\mathrm{DFSALL} \,&amp;lt;/math&amp;gt; บนกราฟ &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ใดๆ  ถ้า &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; เป็น DAG แล้ว จะไม่มี edge ใดเป็น back edge เลย&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;#039;&amp;#039;&amp;#039;lemma:&amp;#039;&amp;#039;&amp;#039; รัน &amp;lt;math&amp;gt;\mathrm{DFSALL} \,&amp;lt;/math&amp;gt; บนกราฟ &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ใดๆ  ถ้า &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; เป็น DAG แล้ว จะไม่มี edge ใดเป็น back edge เลย&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-l10&quot; &gt;แถว 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;math&amp;gt;v \rightarrow u_1 \rightarrow u_2 \rightarrow \dotsb \rightarrow u_k \rightarrow u \rightarrow v \,&amp;lt;/math&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;math&amp;gt;v \rightarrow u_1 \rightarrow u_2 \rightarrow \dotsb \rightarrow u_k \rightarrow u \rightarrow v \,&amp;lt;/math&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;เป็น cycle ฉะนั้น &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ไม่ใช่ DAG&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;เป็น cycle ฉะนั้น &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ไม่ใช่ DAG&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&amp;#039;&amp;#039;&amp;#039;พิสูจน์ (โจทย์):&amp;#039;&amp;#039;&amp;#039; ให้ &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; เป็น DAG และให้ &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เป็น edge ใดๆ ใน &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;# &amp;lt;math&amp;gt;\mathrm{DFSALL}(u) \,&amp;lt;/math&amp;gt; ถูกเรียกก่อน &amp;lt;math&amp;gt;\mathrm{DFSALL}(v) \,&amp;lt;/math&amp;gt;: ในกรณีนี้ เนื่องจากเรารู้ว่ามี path จาก &amp;lt;math&amp;gt;u \,&amp;lt;/math&amp;gt; ไปยัง &amp;lt;math&amp;gt;v \,&amp;lt;/math&amp;gt; แน่นอน (เราสามารถใช้ edge &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เป็น path นั้นได้) ทำให้เราได้ว่า &amp;lt;math&amp;gt;\mathrm{DFSALL}(v) \,&amp;lt;/math&amp;gt; จะต้องถูกเรียกและทำงานเสร็จก่อนที่ &amp;lt;math&amp;gt;\mathrm{DFSALL}(u) \,&amp;lt;/math&amp;gt; จะทำงานเสร็จ ฉะนั้น &amp;lt;math&amp;gt;\mathrm{post}[u] &amp;gt; \mathrm{post}[v] \,&amp;lt;/math&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;# &amp;lt;math&amp;gt;\mathrm{DFSALL}(u) \,&amp;lt;/math&amp;gt; ถูกเรียกหลังจากที่ &amp;lt;math&amp;gt;\mathrm{DFSALL}(v) \,&amp;lt;/math&amp;gt; ถูกเรียก ในกรณีนี้เราจะได้ว่า &amp;lt;math&amp;gt;\mathrm{pre}[v] &amp;lt; \mathrm{pre}[u] \,&amp;lt;/math&amp;gt; นอกจากนี้เราจะได้ว่า &amp;lt;math&amp;gt;\mathrm{post}[v] \,&amp;lt;/math&amp;gt; จะต้องมีค่าน้อยกว่า &amp;lt;math&amp;gt;\mathrm{post}[u] \,&amp;lt;/math&amp;gt; ด้วย มิเช่นนั้นเราจะได้ว่า  &amp;lt;math&amp;gt;\mathrm{pre}[v] &amp;lt; \mathrm{pre}[u] &amp;lt; \mathrm{post}[u] &amp;lt; \mathrm{post}[v] \,&amp;lt;/math&amp;gt; ซึ่งหมายความว่า &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เป็น back edge (ใช้ความรู้จากข้อ 4.3 และ 4.4) ใน DAG ทำให้เกิดข้อขัดแย้งขึ้น&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cardcaptor</name></author>
		
	</entry>
	<entry>
		<id>https://theory.cpe.ku.ac.th/wiki/index.php?title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552/%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F/%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1&amp;diff=7438&amp;oldid=prev</id>
		<title>Cardcaptor: หน้าที่ถูกสร้างด้วย &#039;ขั้นแรกเราจะทำการพิสูจน์ lemma ต่อไปนี้  &#039;&#039;&#039;lemma:&#039;&#039;&#039; รัน &lt;math&gt;\mat…&#039;</title>
		<link rel="alternate" type="text/html" href="https://theory.cpe.ku.ac.th/wiki/index.php?title=418531_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%95%E0%B9%89%E0%B8%99_2552/%E0%B9%82%E0%B8%88%E0%B8%97%E0%B8%A2%E0%B9%8C%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%81%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%97%E0%B8%B6%E0%B8%A1%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%A3%E0%B8%B2%E0%B8%9F/%E0%B9%80%E0%B8%89%E0%B8%A5%E0%B8%A2%E0%B8%82%E0%B9%89%E0%B8%AD_6.1&amp;diff=7438&amp;oldid=prev"/>
		<updated>2009-09-16T12:48:02Z</updated>

		<summary type="html">&lt;p&gt;หน้าที่ถูกสร้างด้วย &amp;#039;ขั้นแรกเราจะทำการพิสูจน์ lemma ต่อไปนี้  &amp;#039;&amp;#039;&amp;#039;lemma:&amp;#039;&amp;#039;&amp;#039; รัน &amp;lt;math&amp;gt;\mat…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;หน้าใหม่&lt;/b&gt;&lt;/p&gt;&lt;div&gt;ขั้นแรกเราจะทำการพิสูจน์ lemma ต่อไปนี้&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;lemma:&amp;#039;&amp;#039;&amp;#039; รัน &amp;lt;math&amp;gt;\mathrm{DFSALL} \,&amp;lt;/math&amp;gt; บนกราฟ &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ใดๆ  ถ้า &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; เป็น DAG แล้ว จะไม่มี edge ใดเป็น back edge เลย&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;พิสูจน์:&amp;#039;&amp;#039;&amp;#039; ข้อความในโจทย์สมมูลกับข้อความที่ว่า &amp;quot;ถ้ามี back edge อย่างน้อยหนึ่ง edge แล้ว &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; จะไม่เป็น DAG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
ดังนั้นสมมติให้มี back edge อยู่หนึ่ง edge สมมติว่าให้ edge นั้นเป็น &amp;lt;math&amp;gt;(u,v) \,&amp;lt;/math&amp;gt; เราจะได้ว่า &amp;lt;math&amp;gt;u \,&amp;lt;/math&amp;gt; เป็นลูกหลานของ&lt;br /&gt;
&amp;lt;math&amp;gt;v \,&amp;lt;/math&amp;gt; ใน DFS Tree ฉะนั้นจะมี path &lt;br /&gt;
&amp;lt;math&amp;gt;v \rightarrow u_1 \rightarrow u_2 \rightarrow \dotsb \rightarrow u_k \rightarrow u \,&amp;lt;/math&amp;gt; &lt;br /&gt;
ฉะนั้นเราจะได้ว่า &amp;lt;math&amp;gt;v \rightarrow u_1 \rightarrow u_2 \rightarrow \dotsb \rightarrow u_k \rightarrow u \rightarrow v \,&amp;lt;/math&amp;gt; &lt;br /&gt;
เป็น cycle ฉะนั้น &amp;lt;math&amp;gt;G \,&amp;lt;/math&amp;gt; ไม่ใช่ DAG&lt;/div&gt;</summary>
		<author><name>Cardcaptor</name></author>
		
	</entry>
</feed>