Prim Algorithm
전처리문 : [code cpp:nocontrols] #include using namespace std; [/code] 자료구조 : [code cpp:nocontrols] typedef struct tagEDGE{ int iNodeA; int iNodeB; int iWeight; public: bool operator < (const struct tagEDGE &vector) { if (iWeight < vector.iWeight) return 1; else return 0; } void OutputScreen() { printf("( %d, %d : %d )\n", iNodeA, iNodeB, iWeight ); } }EDGE; [/code] 자료 변환 함수 : ConvertData(2차원 배열그래프,..
Development & Tips/Algorithms
2007. 5. 18. 19:25
- Total
- 225,650
- Today
- 0
- Yesterday
- 5
TAG
- DirectX
- tangible interface
- 논문주제
- 알고리즘
- 크라이텍
- thesis
- 수묵렌더링
- Kruscal
- 퀵소트
- Sort
- CryTek
- Prim
- 소스
- 렌더몽키
- mst
- mail notifier
- Game
- 프림
- 미디어랩
- 충남 안면도
- Render Monkey
- Exporter
- Android
- source code
- 셰이더
- 크루스컬
- C#
- 머지소트
- Algorithm
- Ambient Occlusion