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
這是當初在學網路程式時所寫的,所以有很多很多地方可以改進, 有心人士就拿去亂改吧! 先執行(server) Server 然後再開兩個 (Client) LoginFrame 就能連了。 那個密碼部份是假的,沒有啥用處,可以把它改成輸入ip , 當初是直接設 127.0.0.1,以方便測試。
標簽: 程式
上傳時間: 2014-12-03
上傳用戶:jackgao
c語言編譯器arm-gen.c asmtest.S bcheck.c boundtest.c c67-gen.c Changelog coff.h configure COPYING elf.h [examples] float.h gcctestsuite.sh i386-asm.c i386-asm.h i386-gen.c il-gen.c il-opcodes.h libtcc.h libtcc1.c libtcc_test.c Makefile README stab.def stab.h stdarg.h stdbool.h stddef.h tcc-doc.html tcc-doc.texi tcc.1 tcc.c tccasm.c tcccoff.c tccelf.c tcclib.h tccpe.c tcctest.c tcctok.h texi2pod.pl tiny_impdef.c TODO varargs.h VERSION
標簽: Changelog boundtest configure arm-gen
上傳時間: 2014-01-16
上傳用戶:拔絲土豆
最小重量機器設計問題 設某一機器由n個部件組成,每一種部件都可以從m個不同的供應商處購得。設w(i,j)是從供應商j處購得的部件i的重量,C(i,j)是相應的價格。 設計一個優先列式分支限界法,給出總價格不超過c的最小重量機器設計。
上傳時間: 2014-01-22
上傳用戶:stewart·
由玉面白狐修改的即時聊天,加入站長廣播,線上人數、防止穿牆及踢人,及加上發言時間及日期,可知是何時的發言,以及防止別人惡意洗畫面,修正一些之前的錯誤,及小小重排了一下版面,再加java提示語法,滑鼠移至輸入項即提示消失
標簽: 修改
上傳時間: 2015-06-02
上傳用戶:wlcaption
用java寫的猜數字遊戲,是猜四位數的那一種,支援人機對戰,電腦最多猜七次就可以猜中玩家心中的數字,核心演算法是使用暴力法,大家可以參考
標簽: java
上傳時間: 2015-06-02
上傳用戶:l254587896
用JAVA寫的網路五子棋遊戲,支援多人連線對戰,還有聊天的功能,大家可以試
標簽: JAVA
上傳時間: 2013-12-03
上傳用戶:Late_Li
設有n種物品,每一種物品數量無限。第i種物品每件重量為wi公斤,每件價值ci元?,F有一只可裝載重量為W公斤的背包,求各種物品應各取多少件放入背包,使背包中物品的價值最高。
標簽:
上傳時間: 2015-06-09
上傳用戶:牧羊人8920
地理資源分析支援系統grass是在1982到1995年由許多美國聯邦機構、大學及私人公司合力發展的地理資訊系統,GRASS具有如下幾個特色:是在UNIX環境下開發GIS系統的先驅 是使用者參與式GIS,具有強大的gis分析功能. grass5.4.0_i686-pc-linux-gnu_bin.tar.gz grass5.4.0_i686-pc-linux-gnu_install.sh readme.txt
上傳時間: 2015-06-16
上傳用戶:teddysha
最小平方近似法 (least-squares approximation) 是用來求出一組離散 (discrete) 數據點的近似函數 (approximating function),作實驗所得的數據亦常使用最小平方近似法來達成曲線密合 (curve fitting)。以下所介紹的最小平方近似法是使用多項式作為近似函數,除了多項式之外,指數、對數方程式亦可作為近似函數。關於最小平方近似法的計算原理,請參閱市面上的數值分析書籍
標簽: least-squares approximation approximating discrete
上傳時間: 2015-06-21
上傳用戶:SimonQQ