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
解決時鐘問題,acm競賽題 A weird clock marked from 0 to 59 has only a minute hand. It won t move until a special coin is thrown into its box. There are different kinds of coins as your options. However once you make your choice, you cannot use any other kind. There are infinite number of coins of each kind, each marked with a number d ( 0 <= 1000 ), meaning that this coin will make the minute hand move d times clockwise the current time. For example, if the current time is 45, and d = 2. Then the minute hand will move clockwise 90 minutes and will be pointing to 15. Now you are given the initial time s ( 0 <= s <= 59 ) and the coin s type d. Write a program to find the minimum number of d-coins needed to turn the minute hand back to 0.
標簽: 時鐘
上傳時間: 2015-05-21
上傳用戶:rishian
Create a time protocol over Client/Server Environment by sending request about time to server from client and the server will response to give the correct time back to the client.
標簽: time Environment protocol sending
上傳時間: 2015-05-23
上傳用戶:guanliya
Details for How to develop an OAL .Step-by-step to develop an OAL. An OEM adaptation layer (OAL) is a layer of code between the Windows CE kernel and the hardware of your target device. You develop an OAL to communicate data between your operating system (OS) and your target device and include code to handle interrupts, timers, and so on.
標簽: develop OAL Step-by-step adaptation
上傳時間: 2014-01-07
上傳用戶:songnanhua
源代碼\用動態規劃算法計算序列關系個數 用關系"<"和"="將3個數a,b,c依次序排列時,有13種不同的序列關系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要將n個數依序列,設計一個動態規劃算法,計算出有多少種不同的序列關系, 要求算法只占用O(n),只耗時O(n*n).
上傳時間: 2013-12-26
上傳用戶:siguazgb
電力系統在臺穩定計算式電力系統不正常運行方式的一種計算。它的任務是已知電力系統某一正常運行狀態和受到某種擾動,計算電力系統所有發電機能否同步運行 1運行說明: 請輸入初始功率S0,形如a+bi 請輸入無限大系統母線電壓V0 請輸入系統等值電抗矩陣B 矩陣B有以下元素組成的行矩陣 1正常運行時的系統直軸等值電抗Xd 2故障運行時的系統直軸等值電抗X d 3故障切除后的系統直軸等值電抗 請輸入慣性時間常數Tj 請輸入時段數N 請輸入哪個時段發生故障Ni 請輸入每時段間隔的時間dt
上傳時間: 2015-06-13
上傳用戶:it男一枚
This program demonstrates some function approximation capabilities of a Radial Basis Function Network. The user supplies a set of training points which represent some "sample" points for some arbitrary curve. Next, the user specifies the number of equally spaced gaussian centers and the variance for the network. Using the training samples, the weights multiplying each of the gaussian basis functions arecalculated using the pseudo-inverse (yielding the minimum least-squares solution). The resulting network is then used to approximate the function between the given "sample" points.
標簽: approximation demonstrates capabilities Function
上傳時間: 2014-01-01
上傳用戶:zjf3110
紅外線遙控器讀碼軟件,顯示紅外線波型,讀取并保存碼 IR Remote Control Unit Code Read System 產品詳細描述: 能夠像顯示器一樣顯示紅外線碼的波型 可以讀多達150種格式的紅外線碼 顯示紅外線碼的時間非常準確,誤差只有幾個微秒。 具有錯誤檢測功能 保存紅外線碼功能 自動識別碼的格式 比較樣機與所寫的新軟件的遙控器碼的異同 具體情況請訪問本網站:http://www.crzman.com/IR_Reader.htm Display the Infrared wave on the software like oscillograph. Can read more than 150 kinds of infrared code format Display the Infrared time and the tolerance no more than many us. Have error detect function Save Infrared code function Auto identify code s format Compare the code from sample and new Remote Control Unit code) Detail instance please visit address: http://www.crzman.com/IR_Reader.htm
上傳時間: 2015-07-03
上傳用戶:ccclll
contain many examples code for I2c,UART,string ,digital convert, read/write to EEprom in microchip PIC16xx series. and the default compiler is hitech PIC16.
標簽: microchip examples contain digital
上傳時間: 2014-01-04
上傳用戶:xmsmh
This software documentation contains proprietary information of OpenAccess Software, Inc. it is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright law. Reverse engineering of the software is prohibited. If this software/documentation is delivered to a U.S. Government Agency, then it is delivered with Restricted Rights and the following legend is applicable:
標簽: documentation proprietary information OpenAccess
上傳時間: 2015-09-03
上傳用戶:mpquest