快速排序算法,二分排序算法的完全實(shí)現(xiàn) 時(shí)間復(fù)雜度只有log(N)
上傳時(shí)間: 2013-12-25
上傳用戶:zhengzg
10.34③ 已知(k1,k2,...,kp)是堆,則可以寫一個(gè)時(shí) 間復(fù)雜度為O(log(n))的算法將(k1,k2,...,kp,kp+1) 調(diào)整為堆。試編寫"從p=1起,逐個(gè)插入建堆"的算法, 并討論由此方法建堆的時(shí)間復(fù)雜度。
上傳時(shí)間: 2014-01-18
上傳用戶:zsjinju
Flexible Vector and Matrix Classes enable to use vectors and matrixes with arbitrary bounds. Content. 1. Algorithm 2. Classes 3. Program Files 4. Tests 5. Compiling 6. Running (log File) 7. Download
標(biāo)簽: and arbitrary Flexible matrixes
上傳時(shí)間: 2016-09-06
上傳用戶:libenshu01
This research project evaluates startup times of the linux boot process from power-on until user login. Time consuming parts of the boot process are investigated and methods how to speed up the whole process are discussed.
標(biāo)簽: evaluates research power-on project
上傳時(shí)間: 2013-12-18
上傳用戶:sqq
ARP test mode. According to the idea we design the arithmetic for the key part, first the system sends a message to the target machine, and then system wait for the response. Once system receives a message, it starts to analyze the message, according to the message s parameter system judges whether the message satisfies the conditions. Once the message satisfies all the conditions, the system thinks the machine is sniffing, and adds this machine into the list of sniffing machines. On this basis the detection has done well, and at the same time we insert the result into the log database for inquire and analyze later.
標(biāo)簽: the arithmetic According design
上傳時(shí)間: 2016-10-06
上傳用戶:chongcongying
該代碼不僅實(shí)現(xiàn)了編碼的仿真,還在多種條件下實(shí)現(xiàn)了譯碼的仿真,包括MAP,log-MAP,SOVA下的單雙滑動(dòng)窗口。
上傳時(shí)間: 2013-12-22
上傳用戶:釣鰲牧馬
1.產(chǎn)生白噪聲程序 編程產(chǎn)生一組正態(tài)分布的白噪聲信號(hào),它的均值和方差以及長度可隨意調(diào)整。將產(chǎn)生的白噪聲信號(hào)存入數(shù)據(jù)文件。 本程序算法用C++語言編寫。首先用乘同余法產(chǎn)生均勻分布白噪聲,再用變換抽樣法轉(zhuǎn)換為高斯分布白噪聲。算法及程序?qū)崿F(xiàn)敘述如下。 1) 設(shè)定x初值為11,A=179,長度WNlength,均值A(chǔ)verage,方差Serror為用戶輸入的變量; 2) M =235,ζi= x/M; 3) 取ζi的小數(shù)部分再賦值給ζi+1,這就是均勻分布白噪聲; 4) 利用公式 η1=Serror×(–2*logζ1)0.5×cos(2pζ2) +Average η2= Serror×(–2*logζ1)0.5×sin(2pζ2) +Average 計(jì)算得到均值和方差可任意調(diào)整的白噪聲序列。式中 為均勻分布白噪聲。
上傳時(shí)間: 2016-10-19
上傳用戶:hanli8870
uart全功能實(shí)現(xiàn).實(shí)現(xiàn)如下函數(shù): U_Open, U_Close, U_GetBytes, U_PutBytes, U_GetBytesAvail, U_GetTxRoomLeft, U_PutISRBytes, U_GetTxISRRoomLeft, U_Purge, U_SetOwner, U_SetFlowCtrl, U_ConfigEscape, U_SetDCBConfig, U_CtrlDCD, U_CtrlBreak, U_ClrRxBuffer, U_ClrTxBuffer, U_SetBaudRate, U_SendISRData, U_SendData, U_GetOwnerID, U_SetAutoBaud_Div, /*TY adds these to expand flexibility 2004/10/15*/ U_Register_TX_cb, U_Register_RX_cb, /*TY adds these to let virtual COM port can retrive exception log 2005/3/8*/ U_GetUARTByte, U_PutUARTByte, U_PutUARTBytes, /*for virtual com port to return DCB configuration*/ U_ReadDCBConfig, U_CtrlRI, U_CtrlDTR, U_ReadHWStatus
標(biāo)簽: U_GetBytesAvail U_GetTxRoomL U_GetBytes U_PutBytes
上傳時(shí)間: 2013-12-08
上傳用戶:GHF
VC++編程,加密保護(hù)log文件的實(shí)例,對(duì)于初學(xué)者有幫助
上傳時(shí)間: 2016-11-14
上傳用戶:邶刖
表達(dá)式計(jì)算器。表達(dá)式中只能有圓括號(hào)、函數(shù)名、運(yùn)算符、常數(shù)與變量。一、變量名的命名規(guī)則:1、可以是字符、或字符串 2、不能以數(shù)字開頭 3、不能夾雜有空格、運(yùn)算符或標(biāo)點(diǎn)符號(hào),以及以下字符:\、|、=、&、%、$、@、#、`、~.二、函數(shù)有sin、cos、tan、cot、sqrt、asin、acos、atan、log,均需要小寫。函數(shù)后的變量名可以加括號(hào),也可以不要括號(hào),如:log(C1)與logC1是相同的。三、運(yùn)算符有+(加)、-(減)、*(乘)、/(除)與^(冪次)。
標(biāo)簽: 表達(dá)式 變量 運(yùn)算符 函數(shù)
上傳時(shí)間: 2014-01-07
上傳用戶:leehom61
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1