對(duì)c語(yǔ)言的簡(jiǎn)單語(yǔ)法分析器 文件說(shuō)明: input.txt內(nèi)為輸入的源程序,包括for,while和if else控制等 output.txt內(nèi)為輸出的二元單詞序列 k.txt為關(guān)鍵字表 l.txt為運(yùn)算符和界符表 i.txt為該輸入的源程序的標(biāo)志符 c.txt為常數(shù)表 個(gè)別表需要序列號(hào),這時(shí)各表的序列號(hào)默認(rèn)為從1開(kāi)始,每行加1。 使用說(shuō)明: 在提示符下輸入input.txt文件的路徑和文件名字, 運(yùn)行完成后,打開(kāi)文件output.txt看結(jié)果。
標(biāo)簽: input txt c語(yǔ)言 語(yǔ)法分析器
上傳時(shí)間: 2013-12-23
上傳用戶:pompey
This a Bayesian ICA algorithm for the linear instantaneous mixing model with additive Gaussian noise [1]. The inference problem is solved by ML-II, i.e. the sources are found by integration over the source posterior and the noise covariance and mixing matrix are found by maximization of the marginal likelihood [1]. The sufficient statistics are estimated by either variational mean field theory with the linear response correction or by adaptive TAP mean field theory [2,3]. The mean field equations are solved by a belief propagation method [4] or sequential iteration. The computational complexity is N M^3, where N is the number of time samples and M the number of sources.
標(biāo)簽: instantaneous algorithm Bayesian Gaussian
上傳時(shí)間: 2013-12-19
上傳用戶:jjj0202
K均值算法的一個(gè)改進(jìn)算法,簡(jiǎn)單實(shí)用,但是有點(diǎn)簡(jiǎn)單。
上傳時(shí)間: 2015-03-29
上傳用戶:清風(fēng)冷雨
enumerates Plug-n-Play RS-232 devices that are compliant with the current revision of Plug and Play External COM Device.
標(biāo)簽: Plug-n-Play enumerates compliant revision
上傳時(shí)間: 2015-03-29
上傳用戶:gdgzhym
K均值是一個(gè)預(yù)先知道類(lèi)數(shù)的算法,需要具備專(zhuān)業(yè)知識(shí),不現(xiàn)實(shí)。本文提出一個(gè)確定類(lèi)數(shù)的方法。
上傳時(shí)間: 2015-03-30
上傳用戶:GavinNeko
0 / 1背包問(wèn)題是一個(gè)N P-復(fù)雜問(wèn)題,為了解決該問(wèn)題,,將用回溯算法解決該問(wèn)題。既然想選擇一個(gè)對(duì)象的子集,將它們裝入背包,以便獲得的收益最大,則解空間應(yīng)組織成子集樹(shù)的形狀(如圖1 6 - 2所示)。該回溯算法與4 . 2節(jié)的裝載問(wèn)題很類(lèi)似。首先形成一個(gè)遞歸算法,去找到可獲得的最大收益。然后,對(duì)該算法加以改進(jìn),形成代碼。改進(jìn)后的代碼可找到獲得最大收益時(shí)包含在背包中的對(duì)象的集合。
標(biāo)簽: 背包問(wèn)題
上傳時(shí)間: 2013-11-25
上傳用戶:helmos
This software was done in part for a textbook on AI I ve written called _The Basis of AI_ (tentative title, subject to change but not if I get my way). For details see: http://www.mcs.com/~drt/basisofai.html
標(biāo)簽: tentative software textbook written
上傳時(shí)間: 2015-03-30
上傳用戶:cxl274287265
LCD OSD 程序用於8051 開(kāi)發(fā)lcd
上傳時(shí)間: 2013-12-30
上傳用戶:yepeng139
這是s3c4510原廠開(kāi)發(fā)版的cdrom內(nèi)容,但是因?yàn)樵瓘S停產(chǎn),所以已經(jīng)下載不到,得來(lái)不易,是arm初學(xué)者必備文檔。
上傳時(shí)間: 2014-02-12
上傳用戶:偷心的海盜
一元稀疏多項(xiàng)式計(jì)算器[加法和乘法] 問(wèn)題描述: 設(shè)計(jì)一元系數(shù)多項(xiàng)式計(jì)數(shù)器實(shí)現(xiàn)兩個(gè)多項(xiàng)式間的加法、減法。 基本要求: (1) 輸入并建立多項(xiàng)式 (2) 輸出多項(xiàng)式,輸出形式為整數(shù)序列:n,c1,e1,c2,e2……cn,en,其中n是多項(xiàng)式的項(xiàng)數(shù),ci,ei分別為第i項(xiàng)的系數(shù)和指數(shù)。序列按指數(shù)降序排列。 (3) 多項(xiàng)式a和b相加,建立多項(xiàng)式a+b,輸出相加的多項(xiàng)式。 (4) 多項(xiàng)式a和b相減,建立多項(xiàng)式a-b,輸出相減的多項(xiàng)式。 用帶表頭結(jié)點(diǎn)的單鏈表存儲(chǔ)多項(xiàng)式。 測(cè)試數(shù)據(jù): (1) (2x+5x8-3.1x11)+(7-5x8+11x9) (2) (6x-3-x+4.4x2-1.2x9)-(-6x-3+5.4x2+7.8x15) (3) (x+x2+x3)+0 (4) (x+x3)-(-x-x-3)
標(biāo)簽: 多項(xiàng)式 加法 稀疏 乘法
上傳時(shí)間: 2013-12-03
上傳用戶:561596
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1