<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>중성자 별의 충돌 에너지</title>
		<link>http://blog.nextcube.pe.kr/</link>
		<description>하고싶은거 하면서 살기~</description>
		<language>ko</language>
		<pubDate>Fri, 03 Feb 2012 15:31:16 +0900</pubDate>
		<generator>Tistory 1.1 (http://www.tistory.com/)</generator>
		<managingEditor>NextCube</managingEditor>
		<image>
		<title>중성자 별의 충돌 에너지</title>
		<url><![CDATA[http://cfile29.uf.tistory.com/image/190E4F374F2B4A671FCE6E]]></url>
		<link>http://blog.nextcube.pe.kr/</link>
		<description>하고싶은거 하면서 살기~</description>
		</image>
		<item>
			<title>Windows XP IIS 설정하기</title>
			<link>http://blog.nextcube.pe.kr/entry/Windows-XP-IIS-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;&lt;br /&gt;
&lt;br /&gt;Windows XP IIS 설정하기&lt;br /&gt;
&lt;/DIV&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;STRONG&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/20730F354F2B7AE9384D78&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.jpg&quot; height=&quot;398&quot; width=&quot;578&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;1. 제어판 &amp;gt;&amp;nbsp;프로그램 추가제거 &amp;gt; 왼쪽 3번째 버튼 Windows 구성요서 추가/제거(A) 를 클릭합니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile27.uf.tistory.com/image/19730F354F2B7AEA392153&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.jpg&quot; height=&quot;369&quot; width=&quot;586&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;2. 그럼 위와같은 창에서 구성요소 리스트중 인터넷 정보 서비스(IIS)에 체크를 해주시고 다음을 누릅니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/18730F354F2B7AEB3A04D0&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.jpg&quot; height=&quot;369&quot; width=&quot;586&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;3. 그럼 설치가 진행됩니다.(설치시에는 Windows CD 가 필요합니다)&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile1.uf.tistory.com/image/19730F354F2B7AEB3B558D&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.jpg&quot; height=&quot;369&quot; width=&quot;586&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;4. 설치가 완료되었습니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile4.uf.tistory.com/image/20730F354F2B7AEB3CB820&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;05.jpg&quot; height=&quot;390&quot; width=&quot;600&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;5. C드라이브로 가면 Interpub 이라는 웹서비스용 폴더가 생겼습니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/12730F354F2B7AEC3DD9C2&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.jpg&quot; height=&quot;401&quot; width=&quot;600&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;6. 제어판 &amp;gt; 관리도구 &amp;gt; 인터넷 정보 서비스를 실행합니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile9.uf.tistory.com/image/13730F354F2B7AEC3EC9FF&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.jpg&quot; height=&quot;450&quot; width=&quot;600&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;7. 웹 사이트 밑의 기본 웹 사이트에 마우스 오른쪽을 하여 속성창을 엽니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile29.uf.tistory.com/image/15730F354F2B7AED3FAC7E&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;08.jpg&quot; height=&quot;438&quot; width=&quot;536&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;8. 디렉터리 보안 &amp;gt; 인증 액세스 및 인증 제어 편집을 누릅니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile29.uf.tistory.com/image/14730F354F2B7AED40FBBA&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;09.jpg&quot; height=&quot;438&quot; width=&quot;536&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;9. 익명으로 접근할수 있도록 설정하고, IIS에서 암호를 제어할 수 있음 에 체크하도록합니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile8.uf.tistory.com/image/16730F354F2B7AEE411C0C&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;10.jpg&quot; height=&quot;450&quot; width=&quot;600&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;STRONG&gt;10. 홈디렉터리 탭에서 로컬 경로를 미리 만들어 두었던 C:\02_ROOT 로 바꾸었습니다.&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/17730F354F2B7AEE42E0F5&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;11.jpg&quot; height=&quot;152&quot; width=&quot;520&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;br /&gt;
&lt;STRONG&gt;11. C:\02_ROOT 폴더 내에 index.htm 을 만들어 위의 소스를 작성하고 저장합니다.&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile24.uf.tistory.com/image/18730F354F2B7AEE43375E&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;12.jpg&quot; height=&quot;394&quot; width=&quot;503&quot;/&gt;&lt;/div&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;&lt;STRONG&gt;12. &lt;/STRONG&gt;&lt;A href=&quot;http://localhost&quot;&gt;&lt;STRONG&gt;http://localhost&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt; 로 접속하여 봅니다.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-198-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-198-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x05 WINDOWS</category>
			<category>IIS</category>
			<category>window</category>
			<category>XP</category>
			<category>윈도우</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/198</guid>
			<comments>http://blog.nextcube.pe.kr/entry/Windows-XP-IIS-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0#entry198comment</comments>
			<pubDate>Fri, 03 Feb 2012 15:21:22 +0900</pubDate>
		</item>
		<item>
			<title>자료구조 #6 B-트리 (B-tree) 삭제</title>
			<link>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-6-B-%ED%8A%B8%EB%A6%ACB-tree-%EC%82%AD%EC%A0%9C</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
B-트리(B-tree) 삭제&lt;br /&gt;

&lt;div style=&quot;TEXT-ALIGN: center&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/2045AB3C4F1EB0B10D68FB&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;1. 초기 B 트리&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile22.uf.tistory.com/image/1145AB3C4F1EB0B10EC183&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;2. 70의 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/1245AB3C4F1EB0B10FB1B7&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;3. 노드 C에서 70을 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile24.uf.tistory.com/image/1245AB3C4F1EB0B2104E9D&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;4. 10의 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/1345AB3C4F1EB0B21107D8&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;05.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;5. 노드 B 에서 10을 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/1445AB3C4F1EB0B212150A&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;6. 60을 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile29.uf.tistory.com/image/1545AB3C4F1EB0B213CF4C&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;7. 노드 C 에서 60을 삭제하면 노드 C에 원소가 없게 되고 옆에노드 D의 의 원소가 있으므로 노드 A의 80이 노드 C로 내려오고 노드 D에서 가장 작은 원소 90이 노드 A로 올라간다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile10.uf.tistory.com/image/1645AB3C4F1EB0B2145197&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;08.png&quot; height=&quot;244&quot; width=&quot;483&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;8. 95의 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile9.uf.tistory.com/image/1745AB3C4F1EB0B2152CD5&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;09.png&quot; height=&quot;244&quot; width=&quot;339&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;9. 노드 D의 95가 삭제되면 노드 D는 원소가 없게되고 옆노드 C는 최소 노드만 가지고 있으므로 회전할수 없음. 노드 D를 삭제하고 D의 부모인 노드 A에서 가장 큰 값인 90응ㄹ 노드 C로 내림&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile26.uf.tistory.com/image/1845AB3C4F1EB0B2162267&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;10.png&quot; height=&quot;244&quot; width=&quot;339&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;10. 90의 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/2045AB3C4F1EB0B3178DC5&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;11.png&quot; height=&quot;244&quot; width=&quot;339&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;11. 노드 C에서 90을 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile22.uf.tistory.com/image/1145AB3C4F1EB0B3186FA1&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;12.png&quot; height=&quot;244&quot; width=&quot;339&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;12. 20의 삭제&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile7.uf.tistory.com/image/1674BC504F1EB46035B3F9&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;13.png&quot; height=&quot;106&quot; width=&quot;152&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;13. 노드 B에서 20을 삭제하면 노드 B는 원소가 없게되고 옆노드 C는 최소원소만 가지고 있으므로&amp;nbsp;부모노드 A의 원소 50을 가져오고 노드 C에서 80이 노드 B로 가면서 노드 A와 노드 C 삭제&lt;/p&gt;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-197-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-197-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x10 DATA STRUCTURE</category>
			<category>b tree</category>
			<category>B트리</category>
			<category>삭제</category>
			<category>자료구조</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/197</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-6-B-%ED%8A%B8%EB%A6%ACB-tree-%EC%82%AD%EC%A0%9C#entry197comment</comments>
			<pubDate>Tue, 24 Jan 2012 22:40:21 +0900</pubDate>
		</item>
		<item>
			<title>자료구조 #6 B-트리 (B-tree)  삽입</title>
			<link>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-6-B-%ED%8A%B8%EB%A6%AC</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;P&gt;B 트리 (B-tree)&amp;nbsp; 삽입&lt;br /&gt;
&lt;br /&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile5.uf.tistory.com/image/1938483C4F1EABF30A5537&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.png&quot; height=&quot;244&quot; width=&quot;339&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;1. 70의 삽입&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile27.uf.tistory.com/image/2038483C4F1EABF30BDEBC&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;244&quot; width=&quot;376&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;2. 70에 가장 가까운 노드 C&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/1138483C4F1EABF30C1929&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;244&quot; width=&quot;339&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;3. 노드C에 여유공간이 있으므로 그대로 삽입&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile8.uf.tistory.com/image/1338483C4F1EABF40DC04B&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.png&quot; height=&quot;244&quot; width=&quot;339&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;4. 30의 삽입&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile1.uf.tistory.com/image/1438483C4F1EABF40E794B&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;05.png&quot; height=&quot;244&quot; width=&quot;376&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;5. 30에 가장 가까운 노드 B 발견, 하지만 노드 B는 이미 풀인상태&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile29.uf.tistory.com/image/1538483C4F1EABF40FD711&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.png&quot; height=&quot;244&quot; width=&quot;481&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;6. 노드 B가 풀이므로 분열해여 새로운 노드 D에 10,20,30 중 가장 큰값 30을 삽입 하고 남은 10, 20 에서 큰값인 20을 부모노드 A로 삽입&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/1438483C4F1EABF4104E2F&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.png&quot; height=&quot;244&quot; width=&quot;481&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;7. 60의 삽입&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/1538483C4F1EABF4110E03&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;08.png&quot; height=&quot;244&quot; width=&quot;519&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;8. 60에 가장 가까운 노드 C 발결, 하지만 이미 노드 C는 풀인상태&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile22.uf.tistory.com/image/1738483C4F1EABF512AD33&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;09.png&quot; height=&quot;228&quot; width=&quot;600&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: center; MARGIN: 0px&quot;&gt;9. 노드 C가 풀이므로 분열하여 새로운 노드 E에 60, 70, 80 중 가장 큰 값인 80을 삽입하고 남은 60, 70 중 큰 값인 70을 키로 부모노드 A로 삽입, 하지만 노드 A는 풀인상태&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile4.uf.tistory.com/image/1838483C4F1EABF5131B82&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;10.png&quot; height=&quot;367&quot; width=&quot;600&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;10. 노드 A가 풀이므로 분열하여 새로운 노드 F에 20, 40, 70 중 가장 큰 값인 70을 삽입하고 남은 20, 40 중 큰 값인 40을 새로운 부모노드(키)를 생성(G) 하여 삽입&lt;br /&gt;
&lt;/DIV&gt;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-196-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-196-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x10 DATA STRUCTURE</category>
			<category>b tree</category>
			<category>B트리</category>
			<category>삽입</category>
			<category>자료구조</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/196</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-6-B-%ED%8A%B8%EB%A6%AC#entry196comment</comments>
			<pubDate>Tue, 24 Jan 2012 22:11:46 +0900</pubDate>
		</item>
		<item>
			<title>솔린(Sollin) 알고리즘</title>
			<link>http://blog.nextcube.pe.kr/entry/%EC%86%94%EB%A6%B0Sollin-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
1. 개요&lt;br /&gt;
솔린 알고리즘은 각 단계에서 여러 개의 간선을 선택한다. 한단계의 시작점에서 선택된 간선들은 n 개의 모든 그래프 정점들을 포함한 신장 포리스트가 된다. 각 단계에서는 포리스트에 있는 각 트리에 대해 하나의 간선을 선택한다. 이 간선은 오직 하나의 정점만 그 트리에 속한 최소 비용 간선이다. &lt;br /&gt;
&lt;br /&gt;선택된 간선은 구축중인 신장 트리에 추가된다. 포리스트에 있는 두개의 트리가 같은 간선을 선택할 수 있음에 유의해야한다. 그래서 같은 간선의 복사본들이 제거된다. 또한 비용이 같은 간선이 그래프 내에 여러개 존재할 경우, 두개의 트리가 그들을 연결하는 두 개의 상이한 간선을 선택할 수도 있다. &lt;br /&gt;
&lt;br /&gt;이 간선들은 물론 동일한 비용을 갖는다. 이 중에 하나만 선택된다. 첫 번째 단계가 시작할 때는 선택된 간선의 집합이 공백이다. 이 알고리즘은 어느 한단계의 끝에서 오직 하나의 트리만이 존재하게 되거나 더 이상 선택할 간선이 없을 때 종료된다.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;2. 설명&lt;br /&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile10.uf.tistory.com/image/15674D4E4F16B0500B5F01&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.png&quot; height=&quot;234&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile27.uf.tistory.com/image/16674D4E4F16B0500C1E3F&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile10.uf.tistory.com/image/20674D4E4F16B0530D0FA7&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/11674D4E4F16B0530ED99F&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;br /&gt;&lt;/p&gt;
&amp;nbsp;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-195-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-195-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x11 ALGORISM</category>
			<category>sollin</category>
			<category>솔린</category>
			<category>알고리즘</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/195</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%EC%86%94%EB%A6%B0Sollin-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98#entry195comment</comments>
			<pubDate>Wed, 18 Jan 2012 20:43:37 +0900</pubDate>
		</item>
		<item>
			<title>프림(Prim) 알고리즘</title>
			<link>http://blog.nextcube.pe.kr/entry/%ED%94%84%EB%A6%BCPrim-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;1. 개요&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
프림 알고리즘도 크루스칼 알고리즘의 경우처럼 한번에 하나의 간선으로 최소 비용 신장 트리를 구축한다. 그러나 알고리즘의 각 단계에서 선택된 간선의 집합은 트리를 이룬다. &lt;br /&gt;
&lt;br /&gt;
프림 알고리즘은 하나의 정점으로 된 트리 T에서 시작한다. 이 정점은 원래 그래프에서 어떤 것을 택해도 상관없다. 다음으로, 최소 비용 간선 (u,v)를 구해 T와 (u,v) 의 합집합이 트리가 되면 T에 추가한다. T 에 n-1 개의 간선이 포함될떄까지 간선의 추가 단계를 반복한다.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;2. 설명&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile3.uf.tistory.com/image/1724E1484F16AE24108F54&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.png&quot; height=&quot;234&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile8.uf.tistory.com/image/1924E1484F16AE25115944&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile22.uf.tistory.com/image/2024E1484F16AE2512084E&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile4.uf.tistory.com/image/1124E1484F16AE25132FBC&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/1224E1484F16AE2514A500&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;05.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/1324E1484F16AE2515EBF4&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile10.uf.tistory.com/image/1424E1484F16AE25160C9D&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile27.uf.tistory.com/image/1524E1484F16AE25175C9B&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;08.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;3. 알고리즘&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;txc-textbox&quot; style=&quot;border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(121, 165, 228); border-right-color: rgb(121, 165, 228); border-bottom-color: rgb(121, 165, 228); border-left-color: rgb(121, 165, 228); background-color: rgb(219, 232, 251); padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; &quot;&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;// G 가 최소한 하나의 정점을 가진다고 가정&lt;br /&gt;
&lt;br /&gt;
TV = {A}; // 정점 &amp;nbsp;A로부터 시작. 간선은 비어 있음&lt;br /&gt;
for( T = 0; T의 간선 수가 n-1 보다 적음 ; (u,v) 를 T에 추가)&lt;br /&gt;
{&lt;br /&gt;
&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4em; &quot;&gt;Let (u,v) be a least-cost edge such that u ∈ TV and v !∈ TV;&lt;br /&gt;
if( 그런 간선이 없음 ) break;&lt;br /&gt;
&lt;br /&gt;
v를 TV에 추가;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;}&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
if( T의 간선수가 n-1 보다 적음) &quot;신장 트리가 없음&quot;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&amp;nbsp;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-194-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-194-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x11 ALGORISM</category>
			<category>prim</category>
			<category>알고리즘</category>
			<category>프림</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/194</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%ED%94%84%EB%A6%BCPrim-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98#entry194comment</comments>
			<pubDate>Wed, 18 Jan 2012 20:34:25 +0900</pubDate>
		</item>
		<item>
			<title>크루스칼(Kruskal) 알고리즘</title>
			<link>http://blog.nextcube.pe.kr/entry/%ED%81%AC%EB%A3%A8%EC%8A%A4%EC%B9%BCKruskal-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;1. 개요&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
크루스칼 알고리즘은 한번에 하나씩 최종간선그룹 T에 간선을 추가해 가면서 최소 비용 신장 트리 T를 구축한다. T에 포함될 간선을 비용의 크기 순으로 선택하며, 이미 T에 포함된 간선들과 사이클을 형성하지 않는 간선만을 T에 추가한다.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
전체 n 개의 정점을 가지고 있고 시작정점 S 에서 도착정점 G 까지 연결간선이 있다고 가정한다면 쿠르스칼 알고리즘은 정확히 n-1 개의 간선만이 T에 포함된다.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;2. 설명&lt;/span&gt;&lt;/b&gt;&lt;div&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile3.uf.tistory.com/image/1546EC4D4F16AA0F21D9C4&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.png&quot; height=&quot;234&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile26.uf.tistory.com/image/1646EC4D4F16AA11224E4D&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile6.uf.tistory.com/image/1746EC4D4F16AA11230103&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile30.uf.tistory.com/image/1846EC4D4F16AA1124ED4E&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/2046EC4D4F16AA12257564&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;05.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile7.uf.tistory.com/image/1146EC4D4F16AA12264DE0&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.png&quot; height=&quot;229&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile7.uf.tistory.com/image/1246EC4D4F16AA122795AF&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.png&quot; height=&quot;230&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile29.uf.tistory.com/image/1346EC4D4F16AA12287323&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;08.png&quot; height=&quot;231&quot; width=&quot;246&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;3. 알고리즘&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(121, 165, 228); border-right-color: rgb(121, 165, 228); border-bottom-color: rgb(121, 165, 228); border-left-color: rgb(121, 165, 228); background-color: rgb(219, 232, 251); padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; &quot;&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;T = 0; (최종 간선 집합)&lt;br /&gt;
while(( T 가 n-1 개 미마나의 간선을 포함) &amp;amp;&amp;amp; ( E(간선의 정렬된 순차 집합)는 공백이 아님)) {&lt;br /&gt;
&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4em; &quot;&gt;E에서 최소 비용간선 (v,w) 선택&lt;br /&gt;
&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 8em; &quot;&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 4em; &quot;&gt;E에서 (v,w) 삭제&lt;br /&gt;
if(v,w) 가 T 에서 사이클을 만들지 않으면 T에 (v,w)를 추가;&lt;br /&gt;
else discard(v,w);&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;}&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
if( T 가 n-1 개 미만의 간선을 포함) &quot;연결된 트리가 아님&quot;;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-193-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-193-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x11 ALGORISM</category>
			<category>kruskal</category>
			<category>알고리즘</category>
			<category>크르스칼</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/193</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%ED%81%AC%EB%A3%A8%EC%8A%A4%EC%B9%BCKruskal-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98#entry193comment</comments>
			<pubDate>Wed, 18 Jan 2012 20:17:53 +0900</pubDate>
		</item>
		<item>
			<title>메모리 구조</title>
			<link>http://blog.nextcube.pe.kr/entry/%EB%A9%94%EB%AA%A8%EB%A6%AC-%EA%B5%AC%EC%A1%B0</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile10.uf.tistory.com/image/167F4A3D4F1693461883A8&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;스택_힙.jpg&quot; height=&quot;393&quot; width=&quot;386&quot;/&gt;&lt;/div&gt;&lt;b&gt;
데이터 영역(Data Area)&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;데이터 영역은 전역 변수와 static 변수가 할당되는 영역이다. 이 영역에 할당되는 변수들은 일반적으로 프로그램의 시작과 동시에 할당되고, 프로그램이 종료되어야만 메모리에서 소멸된다. &lt;br /&gt;
&lt;br /&gt;즉, 데이터 영역에 할당된 변수는 프로그램이 종료될 때까지 계속 존재한다는 특징을 지닌다. 전역 변수와 static 변수의 특징과 일치하는 부분이다.&lt;br /&gt;
 &lt;br /&gt;
Initalized data segment : data segment 라 불리는 영역이며, 초기화된 외부 변수 static 변수등이 저장되는 영역이다. 보통 Text segment + initialized data 영역을 합쳐서 프로그램한다.&lt;br /&gt;
&lt;br /&gt;
예) static int a = 1;
&lt;br /&gt;
&lt;br /&gt;Uninitalized data segment : bss segment 라고 불리며, 이 영역을 프로그램이 실행될때 0 이나 NULL Pointer로 초기화 된다.&lt;br /&gt;
예) static int a; (외부 변수나, static 변수중 초기화 되지 않은 변수들)

&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;
스택 영역(Stack Area) &lt;/b&gt;&lt;br /&gt;

&lt;br /&gt;
스택 영역은 함수 호출 시 생성되는 지역 변수와 매개 변수가 저장되는 영역이다. 함수가 실행되는 동안에만 존재하며 함수의 실행이 종료되면 사라진다.이는 다른 메모리 영역과 확실히 비교되는 특징이다. 늦게 할당된 변수의 메모리가 먼저 해제되므로 스택의 특징과 일치한다. 함수내의 자동 변수 외에 saved frame pointer 등 함수를 호출한 caller 의 환경 정보도 저장한다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;
힙 영역(Heap Area)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;

힙 영역은 프로그래머가 관리하는 메모리 영역이다. 즉 프로그래머의 필요에 의해서 메모리 공간이 할당 및 소멸되는 영역이다. 동적 할당으로 생성되는 메모리 영역이다. 힙 영역은 uninitialized data 영역의 bottom 과 staack 영역의 top 부분에 위치한다.&lt;br /&gt;
&lt;br /&gt;


※ 정적 할당되는 변수의 메모리는 변수의 특성에 따라 데이터 또는 스택 영역에 생성된다. 정적 할당은 컴파일 단계(Compile-time)에서 모두 이루어진다. 하지만 컴파일 단계에서는 메모리의 크기만 생성 할 뿐 변수의 값은 저장 되지 않는다. 이 때문에 배열의 크기는 상수로만 지정해야 하는 것이다. 변수 값의 저장은 런타임(Run-time)에서 이루어지며, 런타임 단계에서 메모리를 생성하고자 할때 사용하는 것이 동적 할당이다.
&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-192-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-192-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x09 STUDY</category>
			<category>구조</category>
			<category>메모리</category>
			<category>스택</category>
			<category>힙</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/192</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%EB%A9%94%EB%AA%A8%EB%A6%AC-%EA%B5%AC%EC%A1%B0#entry192comment</comments>
			<pubDate>Wed, 18 Jan 2012 18:51:13 +0900</pubDate>
		</item>
		<item>
			<title>자료구조 #5 힙(Heap)</title>
			<link>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-5-%ED%9E%99Heap</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 14pt&quot;&gt;1. 개요&lt;/SPAN&gt;&lt;br /&gt;
&lt;/STRONG&gt;힙이란 트리의 일종으로 완전 이진트리 구조를 가진 자료구조.&lt;br /&gt;
&lt;br /&gt;&lt;STRONG&gt;&lt;FONT color=#e31600&gt;Max Heap&lt;/FONT&gt;&lt;/STRONG&gt; : 부모의 값이 항상 자식의 값보다 큼&lt;br /&gt;
&lt;STRONG&gt;&lt;FONT color=#e31600&gt;Min Heap&lt;/FONT&gt;&lt;/STRONG&gt; : 부모의 값이 항상 자식의 값보다 작음&lt;br /&gt;
&lt;br /&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 14pt&quot;&gt;2. 설명&lt;/SPAN&gt;&lt;br /&gt;
&lt;/STRONG&gt;&lt;br /&gt;
&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;1. 힙의 구성&lt;/SPAN&gt;&lt;br /&gt;
&lt;/STRONG&gt;아래의 숫자를 순서대로 Min Heap 형태로&amp;nbsp;나타내보겠습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;4, 7, 2, 9, 6&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;

&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;br /&gt;
&amp;nbsp;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile29.uf.tistory.com/image/1338C1434F0ADFB41BF37C&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.png&quot; height=&quot;61&quot; width=&quot;315&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;처음 4가 들어옵니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile27.uf.tistory.com/image/126BD3444F0ADFC0135F19&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;137&quot; width=&quot;381&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;4를 ROOT 로 7이 자식트리로 들어옵니다.&lt;br /&gt;
완전 이진트리를 완성하기위해 왼쪽부터 들어갑니다.&lt;br /&gt;
이어서 2가 들어옵니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile9.uf.tistory.com/image/146EDE404F0ADFC739F422&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;137&quot; width=&quot;381&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;Min Heap 은 부모자 자식보다 클수 없습니다.&lt;br /&gt;
즉, 4와 2의 자리를 치환합니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/122C763F4F0ADFD42355B7&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.png&quot; height=&quot;201&quot; width=&quot;447&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;이어서 9가 들어옵니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile3.uf.tistory.com/image/163369424F0ADFF210F9EC&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;05.png&quot; height=&quot;212&quot; width=&quot;447&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;그리고 6이 들어와서 완전 이진트리 형태를 유지합니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/155E353D4F0ADFFD20F4FB&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.png&quot; height=&quot;212&quot; width=&quot;467&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;하지만 부모인 7은 방금 들어온 6보다 큼니다.&lt;br /&gt;
그러므로 7과 6을 치환합니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/1166CF3D4F0AE006159611&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.png&quot; height=&quot;212&quot; width=&quot;447&quot;/&gt;&lt;/div&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;완성&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left&quot;&gt;이렇게 Min Heap 이서는 부모보다 작은 자식이 들어오면 서로 치환을 반복하고&lt;br /&gt;
Max Heap 에서는 반대로 부모보다 큰 자식이 들어오면 서로 치환합니다.&lt;br /&gt;
&lt;br /&gt;여기서 중요한 포인트는 바로 부모와 자식의 배열값 치환입니다.&lt;br /&gt;
&lt;br /&gt;
&lt;DIV style=&quot;BORDER-BOTTOM: #c1c1c1 1px dashed; BORDER-LEFT: #c1c1c1 1px dashed; PADDING-BOTTOM: 10px; BACKGROUND-COLOR: #eeeeee; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; BORDER-TOP: #c1c1c1 1px dashed; BORDER-RIGHT: #c1c1c1 1px dashed; PADDING-TOP: 10px&quot; class=txc-textbox&gt;&lt;br /&gt;
인덱스 n에 대해서는 부모는&lt;br /&gt;
현재의 인덱스가 부모의 왼쪽 자식일때는(n이 홀수 일때) 는 (n-1)/2&lt;br /&gt;
현재의 인덱스가 부모의 오른쪽 자식일때는(n이 짝수 일때) 는 (n-2)/2&lt;br /&gt;
가 성립한니다.&lt;br /&gt;
&lt;br /&gt;예를 들어,&lt;br /&gt;
6이 삽입되어 부모인 7과 치환할때를 보면&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/155E353D4F0ADFFD20F4FB&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.png&quot; height=&quot;212&quot; width=&quot;467&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
6의 배열 인덱스는 4 입니다.&lt;br /&gt;
4는 짝수이므로 (n-2)/2 의 식에 대입해보면&lt;br /&gt;
&lt;br /&gt;(4-2)/2 = 1&lt;br /&gt;
&lt;br /&gt;1은 7의 인덱스 값이 됩니다.&lt;br /&gt;
&lt;/DIV&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;2. 힙의 삽입(insert)&lt;/SPAN&gt;&lt;br /&gt;
&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/1166CF3D4F0AE006159611&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.png&quot; height=&quot;212&quot; width=&quot;447&quot;/&gt;&lt;/div&gt;4, 7, 2, 9, 6 이후에 1을 삽입합니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;

&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/123751424F0AE13C13EF20&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;08.png&quot; height=&quot;250&quot; width=&quot;517&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;1은 완전이진트리 형태를 유지하기위 4의 사식으로 삽입됩니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile3.uf.tistory.com/image/153751424F0AE13E145722&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;09.png&quot; height=&quot;250&quot; width=&quot;533&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;하지만 자식인 1은 부모인 4보다 작으므로 서로 치환합니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile8.uf.tistory.com/image/163751424F0AE13E15EF9B&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;10.png&quot; height=&quot;250&quot; width=&quot;525&quot;/&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;4와 1을 치환하고보니,&amp;nbsp;부모인 2는 자식인 1보다 크므로 서로 치환홥니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/173751424F0AE13E1653CA&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;11.png&quot; height=&quot;250&quot; width=&quot;517&quot;/&gt;&lt;/div&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;삽입완료&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left&quot;&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;3. 힙의 삭제(delete)&lt;/SPAN&gt;&lt;br /&gt;
&lt;/STRONG&gt;가장 최소값이며 ROOT인 1을 삭제합니다.&lt;br /&gt;

&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile29.uf.tistory.com/image/207569454F0AE3CC2872F7&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;12.png&quot; height=&quot;247&quot; width=&quot;545&quot;/&gt;&lt;/div&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;1이 삭제되면서 완전이진트리형태를 유지하기위해 힙의 맨 마지막 노드가 삭제된 노드로 올라옵니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left&quot;&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/117569454F0AE3CC29E156&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;13.png&quot; height=&quot;213&quot; width=&quot;517&quot;/&gt;&lt;/div&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;4가 ROOT로 올라오고 보니 자식인 2가 부모인 4보다 작습니다. &lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left&quot;&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/197569454F0AE3CC2A1504&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;14.png&quot; height=&quot;213&quot; width=&quot;528&quot;/&gt;&lt;/div&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;4와 2를 치환합니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left&quot;&gt;
&lt;P style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile6.uf.tistory.com/image/207569454F0AE3CC2B570C&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;15.png&quot; height=&quot;213&quot; width=&quot;517&quot;/&gt;&lt;/div&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: center&quot;&gt;삭제 완성&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/DIV&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left&quot;&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 14pt&quot;&gt;3. 힙 정렬(Heap Sort)&lt;/SPAN&gt;&lt;br /&gt;
&lt;/STRONG&gt;힙 정렬이란 Max Heap 또는 Min Heap 의 원리에 따라서 최대값, 최소값을 순서대로 추출하는 정렬&lt;br /&gt;
&lt;/DIV&gt;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-191-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-191-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x10 DATA STRUCTURE</category>
			<category>자료구조</category>
			<category>힙</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/191</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-5-%ED%9E%99Heap#entry191comment</comments>
			<pubDate>Mon, 09 Jan 2012 22:04:49 +0900</pubDate>
		</item>
		<item>
			<title>자료구조 #4 그래프(Graph)</title>
			<link>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-4-%EA%B7%B8%EB%9E%98%ED%94%84Graph</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 14pt&quot;&gt;1. 개요&lt;/span&gt;&lt;br /&gt;
&lt;/strong&gt;그래프란 연결되어 있는 객체간의 관계를 표현할 수 있는 자료구조.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 14pt&quot;&gt;2. 설명&lt;/span&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;1. 그래프 용어&lt;/span&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;font color=&quot;#e31600&quot;&gt;정점(Vertex) &lt;/font&gt;이란 노드(Node)라고도 하며 객체를 나타내며, 데이터가 저장된 곳.&lt;br /&gt;
&lt;font color=&quot;#e31600&quot;&gt;간선(Edge)&lt;/font&gt; 이란 정점을 연결하는 것.&lt;br /&gt;

&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile9.uf.tistory.com/image/172F48394F0A45181824C0&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;01.png&quot; height=&quot;275&quot; width=&quot;325&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;font color=&quot;#e31600&quot;&gt;차수(Degree)&lt;/font&gt; 이란 하나의 정점에 닿아있는 간선의 수.&lt;br /&gt;
1번 정점의 차수는 3 이 됩니다.&lt;br /&gt;
&lt;br /&gt;
&lt;font color=&quot;#e31600&quot;&gt;인접(Adjacent)&lt;/font&gt; 이란 한정점에서 간선을 한번만 통해 갈수 있다면 해당 정점간은 인접하다라고 합니다.&lt;br /&gt;
1번 정점과 2번정점은 인접하지만, 1번 정점과 4번 정점은 인접하지 않습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;font color=&quot;#e31600&quot;&gt;무향 그래프(Undirected Graph)&lt;br /&gt;
&lt;/font&gt;말 그대로 방향성이 없는 간선으로 이루어진 그래프&lt;br /&gt;

&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile4.uf.tistory.com/image/192556354F0A4583292D02&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;333&quot; width=&quot;338&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;font color=&quot;#e31600&quot;&gt;유향 그래프(Directed graph)&lt;br /&gt;
&lt;/font&gt;간선에 방향성을 나타내어 정점간의 방향관계를 타나내는 그래프&lt;br /&gt;

&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile26.uf.tistory.com/image/1654EC364F0A458C1999EC&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;333&quot; width=&quot;361&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
2번 정점은 3번과 1번으로 갈수 있지만, 1번 정점은 3번 정점과 4번 정점으로만 갈 수 있습니다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;font color=&quot;#e31600&quot;&gt;완전 그래프(Complete Graph)&lt;br /&gt;
&lt;/font&gt;모든 정점이 인접한 상태인 그래프.&lt;br /&gt;
모든 정점이 서로 간선으로 연결된 그래프이며, n개 정점이 있다면 모든 정점이 n-1개의 간선을 갖는 그래프.&lt;br /&gt;

&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/1479D7374F0A466C311C15&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;04.png&quot; height=&quot;314&quot; width=&quot;362&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;2. 그래프 표현&lt;/span&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
1. 행렬&lt;br /&gt;

&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile26.uf.tistory.com/image/1654EC364F0A458C1999EC&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;03.png&quot; height=&quot;333&quot; width=&quot;361&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;br /&gt;
위의 유향 그래프를 행렬로 나타낸다면&lt;br /&gt;

&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile27.uf.tistory.com/image/194EE3364F0A4A0E43D6E0&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;05.png&quot; height=&quot;258&quot; width=&quot;258&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;MARGIN: 0px&quot;&gt;이렇게 나타낼수 있습니다.&lt;br /&gt;
세로축이 출발정점이고 가로축이 도착정점이라고 한다면,&lt;br /&gt;
첫번째 1번 정점을 출발정점으로 각각의 정점들, 1번부터 4번 정점의 방향성을 나타낸 것이 1번 행이됩니다.&lt;br /&gt;
&lt;br /&gt;
1번 정점은 1번정점으로 가는 길이 없으므로 0,&lt;br /&gt;
1번 정점은 2번정점으로 가는 길이 없으므로 0,&lt;br /&gt;
1번 정점은 3번정점으로 가는 길이 있으므로 1,&lt;br /&gt;
1번 정점은 4번정점으로 가는 길이 없으므로 1&lt;br /&gt;
&lt;br /&gt;
이렇게 됩니다.&lt;br /&gt;
&lt;br /&gt;
여기에 간선에 거리나 비용의 데이터를 넣어줘서 나타낼 수도 있습니다.&lt;br /&gt;
&lt;/p&gt;
&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile27.uf.tistory.com/image/185E94384F0A4ABC175E7D&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;06.png&quot; height=&quot;258&quot; width=&quot;258&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
1번 정점은 3번정점으로 가는데 비용이 3이 들고,&lt;br /&gt;
1번 정점은 4번정점으로 가는데 비용이 7이 들고,&lt;br /&gt;
2번 정점은 1번정점으로 가는데 비용이 4가 들고,&lt;br /&gt;
2번 정점은 3번정점으로 가는데 비용이 3이 듭니다.&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;2. 리스트&lt;br /&gt;
&lt;br /&gt;
위의 그래프를 링크드(Linked List) 로 표현하면 아래와 같습니다.&lt;br /&gt;

&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile4.uf.tistory.com/image/133A83334F0A4EBF184513&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;07.png&quot; height=&quot;104&quot; width=&quot;447&quot;/&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p style=&quot;MARGIN: 0px&quot;&gt;&lt;br /&gt;
1번 정점은 3번, 4번 정점으로 갈수 있고&lt;br /&gt;
2번 정점은 1번, 3번 정점으로 갈수 있습니다.&lt;br /&gt;
&lt;br /&gt;
해당 링크노드에 거리나 비용을 저장하여 나타낼수도 있습니다.&lt;br /&gt;
&lt;/p&gt;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-190-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-190-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x10 DATA STRUCTURE</category>
			<category>그래프</category>
			<category>자료구조</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/190</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0-4-%EA%B7%B8%EB%9E%98%ED%94%84Graph#entry190comment</comments>
			<pubDate>Mon, 09 Jan 2012 11:04:04 +0900</pubDate>
		</item>
		<item>
			<title>파일구조 #3 배열(Array) 과 리스트(List)</title>
			<link>http://blog.nextcube.pe.kr/entry/%ED%8C%8C%EC%9D%BC%EA%B5%AC%EC%A1%B0-3-%EB%B0%B0%EC%97%B4Array-%EA%B3%BC-%EB%A6%AC%EC%8A%A4%ED%8A%B8List</link>
			<description>&lt;fieldset style=&quot;margin:20px 0px 20px 0px;padding:5px;&quot;&gt;&lt;legend&gt;&lt;span&gt;&lt;strong&gt;크리에이티브 커먼즈 라이선스&lt;/strong&gt;&lt;/span&gt;&lt;/legend&gt;&lt;!--Creative Commons License--&gt;&lt;div style=&quot;float: left; width: 88px; margin-top: 3px;&quot;&gt;&lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width: 0&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.0/kr/88x31.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 92px; margin-top: 3px; text-align: justify;&quot;&gt;이 저작물은 &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; target=&quot;_blank&quot;&gt;크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스&lt;/a&gt;에 따라 이용하실 수 있습니다.
			&lt;!-- Creative Commons License--&gt;
			&lt;!-- &lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
			&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/kr/&quot; /&gt;
			&lt;/Work&gt;
			&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-sa/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/DerivativeWorks&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/ShareAlike&quot;/&gt;&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;&lt;/License&gt;&lt;/rdf:RDF&gt; --&gt;&lt;/div&gt;&lt;/fieldset&gt;	&lt;div class=&quot;ad250_outter&quot; style=&quot;float: right; margin: 0 0 20px 10px; position: relative; width: 250px;&quot;&gt;
		&lt;div class=&quot;ad250&quot; style=&quot;background: transparent url(http://i1.daumcdn.net/img-media/media3/common/ad250_bar_r2.gif) no-repeat scroll 0 0; width: 250px; height: 250px; padding: 18px 0 0; position: relative; width: 250px&quot;&gt;
			&lt;iframe width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; src=&quot;http://amsv2.daum.net/ad/adview?secid=00659&amp;mkvid=1&amp;blogid=374588&quot;&gt;&lt;/iframe&gt;		&lt;/div&gt;
	&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;1. 개요&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
어떤 자료를 일련의 순서대로 저장하는것을 리스트라 하며 이를 가장 직관적으로 나타내는 자료구조가 배열.&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;2. 설명&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;배열&lt;/b&gt;&lt;br /&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;b&gt;리스트&lt;/b&gt;&lt;/p&gt;
&lt;p style=&quot;margin:0&quot;&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile8.uf.tistory.com/image/1251C5384F0951FB2C3902&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;02.png&quot; height=&quot;53&quot; width=&quot;600&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/p&gt;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;3. 기타&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;배열료 표현한 리스트 자료구조외에 포인터를 이용한 Linked List 자료구조 도 있다.&lt;br /&gt;
이는 다음 노드를 가리키는 포인터를 포함하여 다음노드로 이어저 가게 된다.&amp;nbsp;&lt;div class=&quot;entry-ccl&quot; style=&quot;clear: both; text-align: right; margin-bottom: 10px&quot;&gt;
	&lt;img id=&quot;ccl-icon-189-0&quot; class=&quot;entry-ccl-by&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black01.png&quot; alt=&quot;저작자 표시&quot;/&gt;
	&lt;img id=&quot;ccl-icon-189-1&quot; class=&quot;entry-ccl-nc&quot; src=&quot;http://i1.daumcdn.net/cfs.tistory/v/0/static/admin/editor/ccl_black02.png&quot; alt=&quot;비영리&quot;/&gt;
	&lt;!--
	&lt;rdf:RDF xmlns=&quot;http://web.resource.org/cc/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;&gt;
		&lt;Work rdf:about=&quot;&quot;&gt;
			&lt;license rdf:resource=&quot;http://creativecommons.org/licenses/by-nc-fr/2.0/kr/&quot; /&gt;
		&lt;/Work&gt;
		&lt;License rdf:about=&quot;http://creativecommons.org/licenses/by-nc-fr/&quot;&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Reproduction&quot;/&gt;
			&lt;permits rdf:resource=&quot;http://web.resource.org/cc/Distribution&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Notice&quot;/&gt;
			&lt;requires rdf:resource=&quot;http://web.resource.org/cc/Attribution&quot;/&gt;
			&lt;prohibits rdf:resource=&quot;http://web.resource.org/cc/CommercialUse&quot;/&gt;
		&lt;/License&gt;
	&lt;/rdf:RDF&gt;
	--&gt;
&lt;/div&gt;
</description>
			<category>0x10 DATA STRUCTURE</category>
			<category>리스트</category>
			<category>배열</category>
			<category>자료구조</category>
			<author>Nextcube NextCube</author>
			<guid>http://blog.nextcube.pe.kr/189</guid>
			<comments>http://blog.nextcube.pe.kr/entry/%ED%8C%8C%EC%9D%BC%EA%B5%AC%EC%A1%B0-3-%EB%B0%B0%EC%97%B4Array-%EA%B3%BC-%EB%A6%AC%EC%8A%A4%ED%8A%B8List#entry189comment</comments>
			<pubDate>Sun, 08 Jan 2012 17:23:24 +0900</pubDate>
		</item>
	</channel>
</rss>

