Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory in order to make data in that tree persistent. It serves well when there s just small amount of data. When the tree is somewhat bigger, the dumping/loading process could take a lengthy time and makes your mission-critical program less efficient. How about an AVL tree that can directly use the disk for data storage ? If there s something like that, we won t need to read through the whole tree in order to pick up just a little bit imformation(a node), but read only the sectors that are neccssary for locating a certain node and the sectors in which that node lies. This is my initial motivation for writing a storage-media independent AVL Tree. However, as you step forth, you would find that it not only works fine with disks but also fine with memorys, too.
標簽: available libraries Although nearly
上傳時間: 2014-01-22
上傳用戶:zhoujunzhen
我一直覺得 SVM 是個很有趣的東西,不過也一直沒辦法 (mostly 衝堂) 去聽林智仁老師 的 Data mining 跟 SVM 的課; 後來看了一些網路上的文件跟聽 kcwu 講了一下 libsvm 的用法後,就想整理一下,算是對於並不需要知道完整 SVM 理論的人提供使用 libsvm 的入門.
標簽: SVM
上傳時間: 2015-05-22
上傳用戶:ukuk
在一個多人連線伺服器中,我們要有一個伺服端執行緒負責傾聽是否有客戶端連線,如果有客戶端連線,就指派一個客戶端執行緒專門應付這個客戶端連線,並在客戶端佇列中記錄它,然後進入下一個傾聽。 一個客戶端執行緒的工作,就是讀取客戶連線端的使用者輸入訊息,它不負責回應訊息,而是將讀到的訊息加入訊息佇列中,此外在我們的範例中,客戶端執行緒也負責自己的連線狀態,如果使用者中斷連線,客戶端執行緒會負責將自己從客戶端佇列中清除。 廣播執行緒負責取出訊息佇列中的訊息,然後將之一一傳送訊息給客戶端佇列中尚存在的客戶端執行緒。
標簽: 伺服器
上傳時間: 2015-05-22
上傳用戶:wweqas
最小重量機器設計問題 設某一機器由n個部件組成,每一種部件都可以從m個不同的供應商處購得。設w(i,j)是從供應商j處購得的部件i的重量,C(i,j)是相應的價格。 設計一個優先列式分支限界法,給出總價格不超過c的最小重量機器設計。
上傳時間: 2014-01-22
上傳用戶:stewart·
可以用在并行計算中的代碼,支持稀疏矩陣的LU分解,用來求方程組的解
上傳時間: 2013-11-25
上傳用戶:yzhl1988
稀疏矩陣分解的最好方法之一,LU分解,快速高效的分解矩陣
上傳時間: 2014-01-17
上傳用戶:litianchu
Frequency Scale Conversion From f To f Scale frq2mel mel2frq mel The mel scale is based on the human perception of sinewave pitch. frq2erb erb2frq erb The erb scale is based on the equivalent rectangular bandwidths of the human ear. frq2midi midi2frq midi The midi standard specifies a numbering of semitones with middle C being 60. They can use the normal equal tempered scale or else the pythagorean scale of just intonation. They will in addition output note names in a character format.
標簽: Scale Conversion Frequency mel
上傳時間: 2015-06-07
上傳用戶:
設有n種物品,每一種物品數量無限。第i種物品每件重量為wi公斤,每件價值ci元。現有一只可裝載重量為W公斤的背包,求各種物品應各取多少件放入背包,使背包中物品的價值最高。
標簽:
上傳時間: 2015-06-09
上傳用戶:牧羊人8920
Jollen-Kit! 2006 是非常積極進行中的專案,所有紀錄與更新將同步揭示於本網頁。 快速下載 U-Boot 的 binary code:U-Boot binary - 2006/01/03 Linux kernel 2.4.18 for jk2410:uimage.img - 2006/01/06 可開機的 Base root filesystem: urootfs.img -2006/01/07 (without tftp) 可開機的 Base root filesystem: urootfs2.img -2006/03/10 (Busybox 1.10 with tftp) GNU cross toolchain:arm-9tdmi-linux-gnu.tar.gz (armpath by Joe) 安裝方法: # cd / (切換到 / 根目錄) # tar jxf <路徑>/arm-9tdmi-linux-gnu.tar.gz (將檔案解開) "Hello, World!" 在 ARM9 的範例:hello_arm.tar.gz (使用Makefile) 其它工具與原始碼下載 驅動程式模組
標簽: Jollen-Kit 2006
上傳時間: 2015-06-16
上傳用戶:xz85592677
針對有限元分析的稀疏矩陣采用一維存儲時的矩陣運算編寫的,可對其進行加減乘除和LU分解等運算
上傳時間: 2014-01-10
上傳用戶:gonuiln