快速排序算法,二分排序算法的完全實現 時間復雜度只有Log(N)
上傳時間: 2013-12-25
上傳用戶:zhengzg
10.34③ 已知(k1,k2,...,kp)是堆,則可以寫一個時 間復雜度為O(Log(n))的算法將(k1,k2,...,kp,kp+1) 調整為堆。試編寫"從p=1起,逐個插入建堆"的算法, 并討論由此方法建堆的時間復雜度。
上傳時間: 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
標簽: and arbitrary Flexible matrixes
上傳時間: 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.
標簽: evaluates research power-on project
上傳時間: 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.
標簽: the arithmetic According design
上傳時間: 2016-10-06
上傳用戶:chongcongying
該代碼不僅實現了編碼的仿真,還在多種條件下實現了譯碼的仿真,包括MAP,Log-MAP,SOVA下的單雙滑動窗口。
上傳時間: 2013-12-22
上傳用戶:釣鰲牧馬
1.產生白噪聲程序 編程產生一組正態(tài)分布的白噪聲信號,它的均值和方差以及長度可隨意調整。將產生的白噪聲信號存入數據文件。 本程序算法用C++語言編寫。首先用乘同余法產生均勻分布白噪聲,再用變換抽樣法轉換為高斯分布白噪聲。算法及程序實現敘述如下。 1) 設定x初值為11,A=179,長度WNlength,均值Average,方差Serror為用戶輸入的變量; 2) M =235,ζi= x/M; 3) 取ζi的小數部分再賦值給ζ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 計算得到均值和方差可任意調整的白噪聲序列。式中 為均勻分布白噪聲。
上傳時間: 2016-10-19
上傳用戶:hanli8870
uart全功能實現.實現如下函數: 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
標簽: U_GetBytesAvail U_GetTxRoomL U_GetBytes U_PutBytes
上傳時間: 2013-12-08
上傳用戶:GHF
VC++編程,加密保護Log文件的實例,對于初學者有幫助
上傳時間: 2016-11-14
上傳用戶:邶刖
表達式計算器。表達式中只能有圓括號、函數名、運算符、常數與變量。一、變量名的命名規(guī)則:1、可以是字符、或字符串 2、不能以數字開頭 3、不能夾雜有空格、運算符或標點符號,以及以下字符:\、|、=、&、%、$、@、#、`、~.二、函數有sin、cos、tan、cot、sqrt、asin、acos、atan、Log,均需要小寫。函數后的變量名可以加括號,也可以不要括號,如:Log(C1)與LogC1是相同的。三、運算符有+(加)、-(減)、*(乘)、/(除)與^(冪次)。
上傳時間: 2014-01-07
上傳用戶:leehom61