代入法的啟發示搜索 我的代碼實現是:按照自然語言各字母出現頻率的大小從高到低(已經有人作國統計分析了)先生成一張字母出現頻率統計表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對密文字母計算頻率,并按頻率從高到低生成一張輸入密文字母的統計表(B),通過兩張表的對應關系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
TLV1544與TMS320VC5402通過串行口連接,此時,A/D轉換芯片作為從設備,DSP提供幀同步和輸入/輸出時鐘信號。TLV1544與DSP之間數據交換的時序圖如圖3所示。 開始時, 為高電平(芯片處于非激活狀態),DATA IN和I/OCLK無效,DATAOUT處于高阻狀態。當串行接口使CS變低(激活),芯片開始工作,I/OCLK和DATAIN能使DATA OUT不再處于高阻狀態。DSP通過I/OCLK引腳提供輸入/輸出時鐘8序列,當由DSP提供的幀同步脈沖到來后,芯片從DATA IN接收4 b通道選擇地址,同時從DATAOUT送出的前一次轉換的結果,由DSP串行接收。I/OCLK接收DSP送出的輸入序列長度為10~16個時鐘周期。前4個有效時鐘周期,將從DATAIN輸入的4 b輸入數據裝載到輸入數據寄存器,選擇所需的模擬通道。接下來的6個時鐘周期提供模擬輸入采樣的控制時間。模擬輸入的采樣在前10個I/O時鐘序列后停止。第10個時鐘沿(確切的I/O時鐘邊緣,即上升沿或下降沿,取決于操作的模式選擇)將EOC變低,轉換開始。
上傳時間: 2014-12-05
上傳用戶:yepeng139
Writing Your First ASP Application ( Quick Start ) (Page 1 of 8 ) There are many tutorials out there that show you how to program in ASP. Some of them are good, and some are bad. Some of them are downright terrible. In any case, you ve read a bit about ASP and now you are ready to build your first application. But where do you start? In my own experience, I have found that I find it easier to learn something if I actually work with it hands-on. Just reading a book or documentation doesn’t give you the practical knowledge you need to be able to rush off and start creating applications. In this article, I will discuss the creation of a very simple application. I will cover what the application will do, how we will approach writing it, demonstrate in code how we will do it, and discuss additional features that could be added to it. Writing Your First ASP Application ( Quick Start ) - Users On Your Website
標簽: Application tutorials Writing First
上傳時間: 2015-11-05
上傳用戶:franktu
php開發的行業搜索系統!!! 2. 安裝 ------------ a. 解壓程序rar文件,用二進制方式上傳到你的網站的根目錄或某一目錄下 注意:一定要將ftp上傳工具設置為二進制方式,再上傳程序文件 b. unix或linux服務器下, 將以下文件屬性改為:666 (或777) - function/base_info.php - function/emphasis_info.php - function/admin_pass_info.php - function/search_info.php - function/userfield_info.php - template/default/目錄下的所有html文件 c. unix或linux服務器下, 將upfile/目錄屬性改為:777 d. 建立一個mysql數據庫,并記下用戶名和密碼,以便安裝時使用 e. 進入安裝目錄http://www.your_website.com/install/, 自動運行安裝程序 f. 安裝完成后,要求刪除安裝目錄install/及其下文件 g. 后臺管理目錄http://www.your_website.com/adiministrator/ h. 可修改adiministrator/目錄為你希望的獨特的名字
上傳時間: 2014-11-29
上傳用戶:小草123
#ifdef _AFXDLL Enable3dControls() // Call this when using MFC in a shared DLL #else Enable3dControlsStatic() // Call this when linking to MFC statically #endif CPreviewDialogDlg dlg m_pMainWnd = &dlg int nResponse = dlg.DoModal() if (nResponse == IDOK) { // TODO: Place code here to handle when the dialog is // dismissed with OK } else if (nResponse == IDCANCEL) { // TODO: Place code here to handle when the dialog is // dismissed with Cancel } // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application s message pump. return FALSE }
標簽: Enable3dControls Enable3d AFXDLL shared
上傳時間: 2015-12-19
上傳用戶:hustfanenze
函數名稱:CRC-16 Process 函數原型:INT16U make_crc16(INT8U *msgaddr,INT8U datalen) 函數功能:進行CRC校驗和產生CRC代碼.這個函數只影響全局變量crc16. 校驗字放在字符串最后,低8位在前高8位在后. msgaddr : 進行CRC16校驗的據塊的首地址 datalen : 進行CRC16校驗的據塊的個數 CRC-ITU的計算算法如下: a.寄存器組初始化為全"1"(0xFFFF)。 b.寄存器組向右移動一個字節。 c.剛移出的那個字節與數據字節進行異或運算,得出一個指向值表的索引。 d.索引所指的表值與寄存器組做異或運算。 f.數據指針加1,如果數據沒有全部處理完,則重復步驟b。 g.寄存器組取反,得到CRC,附加在數據之后(這一步可省略)。
上傳時間: 2015-12-21
上傳用戶:llandlu
This program demonstrates operation of ADC0 in polled mode. The ADC0 is // configured to use writes to AD0BUSY as its start of conversion source and // to measure the output of the on-chip temperature sensor. The temperature // sensor output is converted to degrees Celsius and is transmitted out UART0
標簽: ADC0 demonstrates configured operation
上傳時間: 2014-01-23
上傳用戶:wangyi39
This program demonstrates operation of ADC0 in polled mode. The ADC0 is // configured to use writes to AD0BUSY as its start of conversion source and // to measure the output of the on-chip temperature sensor. The temperature // sensor output is converted to degrees Celsius and is transmitted out UART0
標簽: ADC0 demonstrates configured operation
上傳時間: 2014-08-18
上傳用戶:米卡
BG碼轉換程序是一個二進制碼(Binary,簡稱 B碼)與格雷碼(Gray Code,簡稱G碼)相互轉換的軟件.
上傳時間: 2014-12-19
上傳用戶:hgy9473
2D Collsion Detection in Real-time Demonstration This is the sample application that accompanies Game Developer magazine. It is meant as a demonstration of a method for 2D collision detection.
標簽: Demonstration application accompanies Detection
上傳時間: 2016-01-17
上傳用戶:sardinescn