一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規(guī)則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統(tǒng),把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規(guī)則和上述規(guī)則形式(2)實現(xiàn).設(shè)大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數(shù)據(jù): B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應(yīng)關(guān)系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |
上傳時間: 2014-12-02
上傳用戶:jkhjkh1982
TLC549是一種采用8位逐次逼近式工作的A/D轉(zhuǎn)換器。內(nèi)部包含系統(tǒng)時鐘、采樣和保持、8位A/D轉(zhuǎn)換器、數(shù)據(jù)寄存器以及控制邏輯電路。TLC549每25uS重復(fù)一次“輸入—轉(zhuǎn)換—輸出”。器件有兩個控制輸入:I/O CLOCK和片選(CS)。 內(nèi)部系統(tǒng)時鐘和I/O CLOCK可獨立使用。應(yīng)用電路的設(shè)計只需利用I/O時鐘啟動轉(zhuǎn)換或讀出轉(zhuǎn)換結(jié)果。當(dāng)CS為高電平時,DATA OUT處于高阻態(tài)且I/O時鐘被禁止。
標(biāo)簽: TLC 549 8位 轉(zhuǎn)換器
上傳時間: 2014-01-17
上傳用戶:qiaoyue
基于模板匹配與支持矢量機的人臉檢測 梁路宏 艾海舟 肖習(xí)攀 葉航軍 徐光佑 張鈸 。本文提出了一種將模板匹配與支持矢量機(SVM)相結(jié)合的人臉檢測算法。算法首先使用雙眼—人臉模板對進(jìn)行粗篩選,然后使用SVM分類器進(jìn)行分類。在模板匹配限定的子空間內(nèi)采用“自舉”方法收集“非人臉”樣本訓(xùn)練SVM,有效地降低了訓(xùn)練的難度。實驗結(jié)果的對比數(shù)據(jù)表明,該算法是十分有效的。
上傳時間: 2013-11-27
上傳用戶:erkuizhang
本書提供用J B u i l d e r開發(fā)數(shù)據(jù)庫應(yīng)用程序、創(chuàng)建分布式應(yīng)用程序以及編寫J a v a B e a n 組件的高級資料。它包括下列幾個部分: • 第一部分是“開發(fā)數(shù)據(jù)庫應(yīng)用程序”,它提供關(guān)于使用J b u i l d e r的D a t a E x p r e s s數(shù)據(jù) 庫體系結(jié)構(gòu)的信息,并解釋原始數(shù)據(jù)組件和類之間的相互關(guān)系,以及怎樣使用它 們來創(chuàng)建你的數(shù)據(jù)庫應(yīng)用程序。它還解釋怎樣使用Data Modeler(數(shù)據(jù)模型器)和 Application Generator(應(yīng)用程序生成器)創(chuàng)建數(shù)據(jù)驅(qū)動的客戶機/服務(wù)器應(yīng)用程 序。 • 第二部分是“開發(fā)分布式應(yīng)用程序”,它提供關(guān)于使用ORB Explorer、用J B u i l d e r 創(chuàng)建多級的分布應(yīng)用程序、調(diào)試分布式應(yīng)用程序、用J a v a定義C O R B A接口以及 使用s e r v l e t等的信息。 • 第三部分是“創(chuàng)建J a v a B e a n”,它解釋怎樣開發(fā)新的J a v a B e a n組件,描述在組件 開發(fā)中涉及的任務(wù), 怎樣使用B e a n s E x p r e s s創(chuàng)建新的J a v a B e a n,以及關(guān)于屬性、 事件、B e a nIn f o類和其他方面的詳細(xì)情況。
標(biāo)簽: 8226 數(shù)據(jù)庫 應(yīng)用程序 分
上傳時間: 2014-01-03
上傳用戶:wpt
Floyd-Warshall算法描述 1)適用范圍: a)APSP(All Pairs Shortest Paths) b)稠密圖效果最佳 c)邊權(quán)可正可負(fù) 2)算法描述: a)初始化:dis[u,v]=w[u,v] b)For k:=1 to n For i:=1 to n For j:=1 to n If dis[i,j]>dis[i,k]+dis[k,j] Then Dis[I,j]:=dis[I,k]+dis[k,j] c)算法結(jié)束:dis即為所有點對的最短路徑矩陣 3)算法小結(jié):此算法簡單有效,由于三重循環(huán)結(jié)構(gòu)緊湊,對于稠密圖,效率要高于執(zhí)行|V|次Dijkstra算法。時間復(fù)雜度O(n^3)。 考慮下列變形:如(I,j)∈E則dis[I,j]初始為1,else初始為0,這樣的Floyd算法最后的最短路徑矩陣即成為一個判斷I,j是否有通路的矩陣。更簡單的,我們可以把dis設(shè)成boolean類型,則每次可以用“dis[I,j]:=dis[I,j]or(dis[I,k]and dis[k,j])”來代替算法描述中的藍(lán)色部分,可以更直觀地得到I,j的連通情況。
標(biāo)簽: Floyd-Warshall Shortest Pairs Paths
上傳時間: 2013-12-01
上傳用戶:dyctj
本設(shè)計是一個簡單的行編輯器。它主要能實現(xiàn)五個主要內(nèi)容: 1、字符的按行錄入及儲存;2、文件內(nèi)容的顯示;3、文件內(nèi)容的查找;4、文件內(nèi)容的替換5、文件的修改。 設(shè)計按數(shù)標(biāo)準(zhǔn)I/O下文件系統(tǒng)軟件工程的方法進(jìn)行,系統(tǒng)應(yīng)具有良好的界面、必要的交互信息和較好的健壯性;醒目美觀的軟件封面。操作人員能快捷簡單地進(jìn)行操作。
上傳時間: 2016-02-27
上傳用戶:朗朗乾坤
The PCI Local bus concept was developed to break the PC data I/O bottleneck and clearly opens the door to increasing system speed and expansion capabilities. The PCI Local bus moves high speed peripherals from the I/O bus and places them closer to the system’s processor bus, providing faster data transfers between the processor and peripherals. The PCI Local bus also addresses the industry’s need for a bus standard which is not directly dependent on the speed, size and type of system processor. It represents the first microprocessor independent bus offering performance more than adequate for the most demanding applications such as full-motion video.
標(biāo)簽: bottleneck developed the concept
上傳時間: 2014-12-03
上傳用戶:ikemada
The PCI Local bus concept was developed to break the PC data I/O bottleneck and clearly opens the door to increasing system speed and expansion capabilities. The PCI Local bus moves high speed peripherals from the I/O bus and places them closer to the system’s processor bus, providing faster data transfers between the processor and peripherals. The PCI Local bus also addresses the industry’s need for a bus standard which is not directly dependent on the speed, size and type of system processor. It represents the first microprocessor independent bus offering performance more than adequate for the most demanding applications such as full-motion video. Hardware reference
標(biāo)簽: bottleneck developed the concept
上傳時間: 2016-03-18
上傳用戶:極客
The PCI Local bus concept was developed to break the PC data I/O bottleneck and clearly opens the door to increasing system speed and expansion capabilities. The PCI Local bus moves high speed peripherals from the I/O bus and places them closer to the system’s processor bus, providing faster data transfers between the processor and peripherals. The PCI Local bus also addresses the industry’s need for a bus standard which is not directly dependent on the speed, size and type of system processor. It represents the first microprocessor independent bus offering performance more than adequate for the most demanding applications such as full-motion video. User Manual
標(biāo)簽: bottleneck developed the concept
上傳時間: 2014-01-15
上傳用戶:努力努力再努力
在學(xué)習(xí)VxWorks I/O 系統(tǒng)功能的基礎(chǔ)上,了解的基本I/O、緩沖I/O 及格式化I/O、文件描述符、標(biāo)準(zhǔn)輸入/輸出/錯誤設(shè)備的使用。對VxWorks I/O 系統(tǒng)中常用的API 有較為深入的理解。實踐者對I/O 系統(tǒng)的理解和使用的熟練程度將影響后續(xù)實踐環(huán)節(jié)進(jìn)行順利與否。通過I/O 系統(tǒng)API 與應(yīng)用程序交互,能方便地對所調(diào)試的系統(tǒng)進(jìn)行監(jiān)控,是實時嵌入環(huán)境軟硬件開發(fā)的主要手段之一。實現(xiàn)終端顯示的秒表。精確到1/10 秒。可鍵盤控制暫停/繼續(xù)計時/復(fù)位功能。
標(biāo)簽: VxWorks
上傳時間: 2013-12-26
上傳用戶:haohaoxuexi
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1