基于事件驅(qū)動(dòng)的串口通訊控件 消息幀數(shù)據(jù)格式: 1 0 A B X X 其中 10 為消息標(biāo)識(shí), AB表示文本長度,L=A*100+B XX為配位字符,任意 控制幀數(shù)據(jù)格式 0 1 A B M N 其中 01為控制標(biāo)識(shí), AB為請求標(biāo)識(shí) MN為附加標(biāo)識(shí) 11表示請求對方接收文件,M表示描述字串中文件名子串的長度 N表示描述字串中文件大小子串的長度 10通知對方放棄傳輸 00通知文件傳輸完畢 01請求對方發(fā)送數(shù)據(jù), MN為10請求發(fā)送下一個(gè) MN為00請求重發(fā) 數(shù)據(jù)幀數(shù)據(jù)格式 0 0 A B M N 其中 00 為數(shù)據(jù)標(biāo)識(shí), AB表示數(shù)據(jù)長度,L=A*100+B MN為校驗(yàn),M*100+N=A+B
標(biāo)簽: 100 幀 數(shù)據(jù)格式 10
上傳時(shí)間: 2015-10-06
上傳用戶:拔絲土豆
考察例1 4 - 8中的1 4個(gè)點(diǎn)。A中的最近點(diǎn)對為(b,h),其距離約為0 . 3 1 6。B中最近點(diǎn)對為 (f, j),其距離為0 . 3,因此= 0 . 3。當(dāng)考察 是否存在第三類點(diǎn)時(shí),除d, g, i, l, m 以外 的點(diǎn)均被淘汰,因?yàn)樗鼈兙喾指罹€x= 1的 距離≥ 。RA ={d, i, m},RB= {g, l},由 于d 和m 的比較區(qū)中沒有點(diǎn),只需考察i 即可。i 的比較區(qū)中僅含點(diǎn)l。計(jì)算i 和l 的距離,發(fā)現(xiàn)它小于,因此(i, l) 是最近
標(biāo)簽:
上傳時(shí)間: 2013-12-03
上傳用戶:66666
About: hamsterdb is a database engine written in ANSI C. It supports a B+Tree index structure, uses memory mapped I/O (if available), supports cursors, and can create in-memory databases. Release focus: Major feature enhancements Changes: This release comes with many changes and new features. It can manage multiple databases in one file. A new flag (HAM_LOCK_EXCLUSIVE) places an exclusive lock on the file. hamsterdb was ported to Windows CE, and the Solution file for Visual Studio 2005 now supports builds for x64. Several minor bugs were fixed, performance was improved, and small API changes occurred. Pre-built libraries for Windows (32-bit and 64-bit) are available for download. Author: cruppstahl
標(biāo)簽: C. hamsterdb structure database
上傳時(shí)間: 2013-12-11
上傳用戶:LouieWu
B樹算法實(shí)現(xiàn),非常難得!btree implementation for random lookups, transaction handling, sequential access methods, and a small embeddable footprint.
上傳時(shí)間: 2014-01-10
上傳用戶:王小奇
B樹及其B+樹的實(shí)現(xiàn)代碼,支持模版(數(shù)據(jù)類型,M值)
上傳時(shí)間: 2016-02-22
上傳用戶:jhksyghr
高斯-塞德爾迭代法算法: 設(shè)方程組AX=b 的系數(shù)矩陣的對角線元素 ,M為迭代次數(shù)容許的最大值, 為容許誤差。 ① 取初始向量 ,令k=0 ② 對 計(jì)算 ③ 如果 ,則輸出 ,結(jié)束;否則執(zhí)行④, ④ 如果 ,則不收斂,終止程序;否則 ,轉(zhuǎn)②。
上傳時(shí)間: 2014-01-22
上傳用戶:集美慧
5.22④ 假設(shè)系數(shù)矩陣A和B均以三元組表作為存儲(chǔ)結(jié)構(gòu)。 試寫出滿足以下條件的矩陣相加的算法:假設(shè)三元組表A 的空間足夠大,將矩陣B加到矩陣A上,不增加A、B之外 的附加空間,你的算法能否達(dá)到O(m+n)的時(shí)間復(fù)雜度?其 中m和n分別為A、B矩陣中非零元的數(shù)目。
上傳時(shí)間: 2013-12-13
上傳用戶:coeus
采用3D Bresenham算法在兩點(diǎn)間劃一直線 % This program is ported to MATLAB from: % B.Pendleton. line3d - 3D Bresenham s (a 3D line drawing algorithm) % ftp://ftp.isc.org/pub/usenet/comp.sources.unix/volume26/line3d, 1992 % % Which is referenced by: % Fischer, J., A. del Rio (2004). A Fast Method for Applying Rigid % Transformations to Volume Data, WSCG2004 Conference. % http://wscg.zcu.cz/wscg2004/Papers_2004_Short/M19.pdf
標(biāo)簽: Bresenham Pendleton program MATLAB
上傳時(shí)間: 2013-12-10
上傳用戶:sz_hjbf
3.畫橢圓ellipse 4.利用ellipse and rectangle 畫圖 5.一個(gè)最優(yōu)美的圖案 6.輸入3個(gè)數(shù)a,b,c,按大小順序輸出 :輸入數(shù)組,最大的與第一個(gè)元素交換,最小的與最后一個(gè)元素交換,輸出數(shù)組。 7.有n個(gè)整數(shù),使其前面各數(shù)順序向后移m個(gè)位置,最后m個(gè)數(shù)變成最前面的m個(gè)數(shù)
標(biāo)簽: ellipse rectangle and 橢圓
上傳時(shí)間: 2016-11-16
上傳用戶:royzhangsz
Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 < i2 < ... < iK <= N. For example, sequence (1, 7, 3, 5, 9, 4, 8) has ordered subsequences, e. g., (1, 7), (3, 4, 8) and many others. All longest ordered subsequences are of length 4, e. g., (1, 3, 5, 8).
標(biāo)簽: Subsequence sequence Problem Longest
上傳時(shí)間: 2016-12-08
上傳用戶:busterman
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1