oid led8_test(void) { int i, j, k iic_init() for( ) { for(j=0 j<10 j++) { for(i=0 i<8 i++) { k = 9-(i+j)%10 iic_write(0x70, 0x10+i, f_szDigital[k]) } delay(1000) } } }
上傳時間: 2013-12-19
上傳用戶:BOBOniu
這是一道很基本的程序,一方面希望它對初學遺傳算法的兄弟們有用(包含了遺傳算法實現(xiàn)的大部分步驟,而且有詳細的注釋),另一方面旨在拋磚引玉, 在下淺見: 1、遺傳算法在進行大規(guī)模計算時,數(shù)據(jù)交換量大,速度確實是一個瓶頸,就如這道程序,在種群規(guī)模50,進化代數(shù)1000時運行需要40秒左右(cpu:duron 1G),當然,小弟編程能力弱,望各位大俠指教啊,或幫我修改一下這道程序
標簽: 程序
上傳時間: 2015-10-13
上傳用戶:libenshu01
用于求解TSP(Traveling salesman problem,旅行商問題)問題,基本執(zhí)行見run.bat, 其它詳見其中的readme.txt。(實例為TSPLIB格式,見myprojects目錄,包括eil51, d198, lin318等小型問題,以及1000到3000城市之間的例子,基本能得到最優(yōu)解)
標簽: Traveling salesman problem TSP
上傳時間: 2015-10-16
上傳用戶:myworkpost
J2ME編的手機助手 文件下載解壓縮以后,是一個NetBeans的工程文件,如果有NB的朋友,可以直接打開編輯 源文件在src目錄下面,可執(zhí)行文件在dist目錄下 功能如下 1,可以添加賬目記錄,添加的時候可以分類添加,以及添加備注 2,可以按類型查看賬目,也可以按金額查看賬目,也可以按備注的關(guān)鍵字查詢賬目,也可以按日期查詢賬目,并有統(tǒng)計收支的功能 3,可以添加日記,最多一條筆記可以輸入1000字. 4,可以查看日記,可以按日期查找,也可以按筆記內(nèi)容的關(guān)鍵字查找 5,帶密碼保護功能,保護您的個人隱私 手機需如下配置: 支持MIDP2.0以及CLDC1.1 JAR文件為76K 用法如下,把jad和jar文件都下載到手機上,然后點擊jad文件,這時手機會自動安裝程序,安裝完以后,就可以使用了.
上傳時間: 2015-10-18
上傳用戶:ddddddos
Given an positive integer A (1 <= A <= 109), output the lowest bit of A. For example, given A = 26, we can write A in binary form as 11010, so the lowest bit of A is 10, so the output should be 2. Another example goes like this: given A = 88, we can write A in binary form as 1011000, so the lowest bit of A is 1000, so the output should be 8.
標簽: A. positive integer example
上傳時間: 2014-01-22
上傳用戶:rocketrevenge
這個程序是用格雷-RM編碼法抑制峰均功率比的matlab仿真程序,對1000個OFDM符號進行統(tǒng)計然后表征算法對PAPR的改進程度,絕對可以運行
上傳時間: 2015-10-25
上傳用戶:qb1993225
Input The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases follow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross. Output For each test case, print a line containing the total number of seconds required for all the N people to cross the river. Sample Input 1 4 1 2 5 10 Sample Output 17
標簽: the contains integer number
上傳時間: 2015-10-27
上傳用戶:plsee
M/M/1單服務臺排隊系統(tǒng)仿真(用事件調(diào)度法實現(xiàn)離散事件系統(tǒng)仿真) 顧客到達模到達時間間隔和顧客服務時間均服從負指數(shù)分布,單服務臺系統(tǒng),按照單隊排隊,按FIFO方式服務。考察服務n個顧客(n=1000,2000,3000,5000)后的顧客平均隊長及平均排隊等待時間。
標簽: 服務 仿真 排隊系統(tǒng) 分布
上傳時間: 2015-10-28
上傳用戶:anng
在采樣頻率為1Hz,數(shù)據(jù)長度為1000點和信噪比為10dB的條件下,進行PPS信號的DPT迭代檢測
上傳時間: 2015-10-31
上傳用戶:caixiaoxu26
《Grid Computing: Making the Global Infrastructure a Reality》 由 Fran Berman、Geoffrey Fox 和 Tony Hey 共同編輯的這本書,由 Wiley 于 2003 年 3 月出版。這本大部頭的書共 1000 多頁,它包含了從各種科學與技術(shù)角度研究網(wǎng)格計算的文章和評論,其中包括:網(wǎng)格的歷史、語義網(wǎng)格、網(wǎng)格體系結(jié)構(gòu)的概述、網(wǎng)格部署模型、OGSA 和對等網(wǎng)格數(shù)據(jù)庫等許多內(nèi)容。
標簽: Infrastructure Computing Geoffrey Reality
上傳時間: 2015-11-12
上傳用戶:heart520beat
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1