文件名 :test3.c * 文件描述:預(yù)測(cè)分析法實(shí)現(xiàn)的語法分析器。分析如下文法: * E->E+T | E-T | T * T->T*F | T/F |F * F->(E) | i * 輸入:每行含一個(gè)表達(dá)式的文本文件(#號(hào)結(jié)束)。 * 輸出:分析成功或不成功信息。 * 創(chuàng)建人:余洪周 <nick19842000.cublog.cn> 2006-12-16 * 版本號(hào):1.0 * 說明 :為了表示的方便采用了如下的所示表示方法: * A=E B=T * 非終結(jié)符:0=E 1=E 2=T 3=T 4=F * 終結(jié)符 :0=i 1=+ 2=- 3=* 4=/ 5=( 6=) 7=#
上傳時(shí)間: 2013-12-21
上傳用戶:cylnpy
光學(xué)雙穩(wěn)特性曲線 調(diào)制作用:It=Ii*T(phi) 反饋?zhàn)饔?phi=phi_0+K*It 得透射率T(phi)與相移phi的反饋關(guān)系是 T(phi)=[phi-phi_0]/[K*Ii] 式中phi_0為初始相移 對(duì)于多干涉(F-P干涉)有: T(phi)=1/[1+F*(sin(phi/2))^2]
上傳時(shí)間: 2013-12-16
上傳用戶:lifangyuan12
Contents at a Glance Introduction 1 PART I INSTALLATION AND CONFIGURATION 5 Hour 1 Preparing to Install Linux 7 2 Installing Linux 23 3 Post-Installation Issues 41 PART II LEARNING LINUX BASICS 67 Hour 4 Reading and Navigation Commands 69 5 Manipulation and Searching Commands 93 6 Using the Shell 117 7 Using the X Window System 143 8 Exploring the K Desktop Environment 177 PART III CONNECTING TO THE OUTSIDE WORLD 197 Hour 9 Using Communications Programs 199 10 Connecting to the Internet 223 11 Configuring Internet Email 249 12 Configuring Internet News 269 13 Internet Downloading and Browsing 289
標(biāo)簽: CONFIGURATION Introduction INSTALLATION Preparing
上傳時(shí)間: 2013-12-27
上傳用戶:qiao8960
uC/OS-II是源碼公開的實(shí)時(shí)嵌入式內(nèi)核,其性能完全可以與商業(yè)產(chǎn)品競(jìng)爭(zhēng)。自1992年以來,全世界成千上萬的開發(fā)者已經(jīng)成功地將uC/OS-II應(yīng)用於各種系統(tǒng)。此份即為 uCOS-II 2.8源碼
上傳時(shí)間: 2013-11-25
上傳用戶:2404
k-meansy算法源代碼。This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.
標(biāo)簽: code implementing directory algorithm
上傳時(shí)間: 2016-04-07
上傳用戶:shawvi
Problem F:汽車加油 Time Limit:1000MS Memory Limit:65536K Total Submit:1400 Accepted:404 Language: not limited Description 一輛汽車加滿油后可行駛n公里。旅途中有若干個(gè)加油站。設(shè)計(jì)一個(gè)有效算法,指出應(yīng)在哪些加油站停靠加油,使沿途加油次數(shù)最少。 編程任務(wù): 對(duì)于給定的n和k(k <= 10000)個(gè)加油站位置,編程計(jì)算最少加油次數(shù)。 Input 第一行有2 個(gè)正整數(shù)n和k,表示汽車加滿油后可行駛n公里,且旅途中有k個(gè)加油站。接下來的1 行中,有k+1 個(gè)整數(shù),表示第k個(gè)加油站與第 k-1 個(gè)加油站之間的距離。第0 個(gè)加油站表示出發(fā)地,汽車已加滿油。第k+1 個(gè)加油站表示目的地。 Output 輸出最少加油次數(shù)。如果無法到達(dá)目的地,則輸出”No Solution”。 Sample Input 7 7 1 2 3 4 5 1 6 6 Sample Output 4
標(biāo)簽: Limit Accepted Language Problem
上傳時(shí)間: 2016-04-12
上傳用戶:youth25
matlab遺傳算法工具箱函數(shù)及實(shí)例講解2 【問題】在-5<=Xi<=5,i=1,2區(qū)間內(nèi),求解 f(x1,x2)=-20*exp(-0.2*sqrt(0.5*(x1.^2+x2.^2)))-exp(0.5*(cos(2*pi*x1)+cos(2*pi*x2)))+22.71282的最小值。
上傳時(shí)間: 2013-12-31
上傳用戶:gtzj
設(shè)定a為N(0,1)的500個(gè)隨機(jī)數(shù)和i長(zhǎng)為500,以n=8、16、64.分別調(diào)用u_pcm.m ,從中計(jì)算量化誤差f=a-a_quan并繪圖,分別輸出各樣值的量化誤差圖形。
標(biāo)簽: 500 設(shè)定 隨機(jī)數(shù)
上傳時(shí)間: 2014-01-17
上傳用戶:偷心的海盜
Statistical Pattern Recognition: A Review Anil K. Jain, Fellow, IEEE, Robert P.W. Duin, and Jianchang Mao, Senior Member, I
標(biāo)簽: K. P.W. Statistical Recognition
上傳時(shí)間: 2016-06-18
上傳用戶:chens000
遞歸下降分析法 (1)E->TG (2)G->+TG|—TG (3)G->ε (4)T->FS (5)S->*FS|/FS (6)S->ε (7)F->(E) (8)F->i
上傳時(shí)間: 2016-07-22
上傳用戶:cxl274287265
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1