My Story, My Life

5hoon's Blog is powered by Tattertools

'CSE'에 해당되는 글 2건

  1. 2008/12/24 Traveling Salesman Probelm
  2. 2008/02/20 Linked List

Traveling Salesman Probelm

**Programming 2008/12/24 14:51 by 5hoon
Traveling Salesman Problem, 외판원 문제.
이번학기에 X줄 타면서 한과제...
대략 3박 4일 걸렸다.. 순수 코딩시간만 해도 머리가 잘 안돌아서 40시간쯤은 했....
여튼...

위키피디아에서 말하기를..
Q: given a number of cities and the costs of traveling from any city to any other city, what is the least-cost round-trip route that visits each city exactly once and then returns to the starting city?

즉, 주어진 도시와 도시들 사이의 거리를 알때, 모든 도시를 한번씩 방문하여 제자리로 돌아 오는 최단 거리의 경로는 어떻게 될까?

두가지 방법으로 문제를 접근해 보았다.
1. Branch and Bound

Branch and Bound


2. Christofides Algorithm

more..


완성작.

more..


여튼.. 이수업.. 학점하난 잘받았다..-_-a
2008/12/24 14:51 2008/12/24 14:51

Linked List

**Programming 2008/02/20 13:04 by 5hoon
늦은 저녁을 먹고 싸이를 돌아다니던중...
미니홈피 밑에 뜨는 방문목록...

사용자 삽입 이미지


이름 하고 화살표 뜨는게 내일 시험보는 Linked List 처럼 생겼다 ㅡㅡ;
아악...

드디어 미쳐가는구나 -0-;


2008/02/20 13:04 2008/02/20 13:04
1 
BLOG main image
My Story, My Life
내가 사는 이야기
by 5hoon

공지사항

카테고리

전체 (107)
**My Life (39)
**Mathematics (14)
**Multimedia (42)
**Programming (4)
**Web Programming (8)

달력

«   2012/02   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      
textcubeDesignMyselfget rss