Daviddr's Blog
一塊暫時用來寄存資料的地方
2010年8月3日 星期二
消退速度
›
半年多沒碰程式.. 編譯器塵封許久,都快忘記介面的樣子囉.. 這半年都在練習腦力外的活動, 發現「學習」這件事,都有個特質, 凡非天生就會的東西,總是要練習到一個質量後, 才能穩定固著下來,退步的速度也才會變慢。 而無論是聰明或 駑 鈍, 想通達「完全瞭解」的...
2 則留言:
2010年1月3日 星期日
Modify k-Means
›
對 k-Means 的簡單改良。code 寫的不算好。 #define ef else if template < typename T> inline void set_vector (T* out , const T* in , int n...
3 則留言:
2009年12月27日 星期日
閉路搜尋
›
#include <conio.h> #include <cstdarg> #include <cstdio> #include "global.h" #define _STACK_CHECK_BOUNDARY_ ...
2 則留言:
2009年12月26日 星期六
前中後序運算式-2
›
以下程式說明了當運算子很多時, 最好用 reverse polish 的 stack 解法,而不要做 recursive descent, 否則 60 幾行可完成的 code 會變成好幾百行... #include <iostream> #include...
2009年12月25日 星期五
有向鄰接圖資料結構
›
若頂點總數為 V 所有頂點的鄰接點數總和為 N 常見的結構有: 1. Adjacency Matrix 使用空間 V * V 2. Adjacency List : 記錄 out edge 若串列指標總和大小為 N 使用...
2009年12月24日 星期四
高維下的 kd-tree
›
http://www.codeproject.com/KB/architecture/KDTree.aspx Anton Milev 文中寫到: For small dimensions the KD-tree can be much faster then s...
2009年12月23日 星期三
Voronoi Diagram
›
Voronoi Diagram / Delaunay Triangulation http://www.cs.cornell.edu/Info/People/chew/Delaunay.html +Crust http://www.cs.unc.edu/~snoeyink...
›
首頁
查看網路版