圖論:最短路徑算法實(shí)現(xiàn) Graph.gph GraphBFS.h GraphM.h GraphOpr.h Queue.h sample.gph ShortPth.cpp ShortPth.dsp ShortPth.dsw ShortPth.ncb ShortPth.OPT ShortPth.plg
標(biāo)簽: gph GraphBFS GraphOpr ShortPth
上傳時(shí)間: 2015-06-03
上傳用戶:壞天使kk
光學(xué)設(shè)計(jì)軟件zemax源碼: This DLL models an nular aspheric surface as described in: "Annular surfaces in annular field systems" By Jose M. Sasian OPT. eng. 36 (12) P 3401-3401 December 1997 This surface is essentially an odd aspheric surface with an offset in the aspheric terms. The sag is given by: Z = (c*r*r) / (1+(1-((1+k)*c*c*r*r))^ 1/2 ) + a*(r-q)^2 + b*(r-q)^3 + c*(r-q)^4 + ... Note the terms a, b, c, ... have units of length to the -1, -2, -3, ... power.
標(biāo)簽: described aspheric surfaces Annular
上傳時(shí)間: 2014-01-08
上傳用戶:yyyyyyyyyy
PAGES3完成了程序的 基本框架,F(xiàn)IFO()除了命中和置換情況外基本完成,但是修改位示圖的子函數(shù) 出現(xiàn)問題,得不到正確的行數(shù)和列數(shù),有時(shí)更改不了0 PAGES4修正了3中的問題,完成FIFO() PAGES5修正了FIFO()中執(zhí)行置換時(shí)未將位示圖中的對(duì)應(yīng)塊置0 PAGES6完成了LRU() PAGES7優(yōu)化了界面,修正了切換算法后訪問次數(shù)與上次算法相連的錯(cuò)誤 PAGES8完成了OPT()修正了在頁面置換切換時(shí)頁表內(nèi)存位示圖不能各自初始化的錯(cuò)誤。發(fā)現(xiàn)OPT()中頁面置換時(shí)出現(xiàn)的錯(cuò)誤。 位示圖置0和置1時(shí)出錯(cuò) 。而且輸出的頁表缺失項(xiàng)目 PAGES9好像是修正了 8中的錯(cuò)誤,現(xiàn)在還沒有找到讓9中OPT()發(fā)生置換的測(cè)試用例 PAGES10找到8,9中出錯(cuò)原因,在于置換時(shí)沒有得到最久要訪問的Memory[i] PAGES11修正10中的錯(cuò)誤。完成OPT() 發(fā)現(xiàn)了LRU()輸出界面的信息冗余,已經(jīng)更正 PAGES12刪除了編程過程中的測(cè)試信息 PAGES13修正了判斷溢出時(shí)的一個(gè)錯(cuò)誤。將判斷的〈=改為〈
上傳時(shí)間: 2014-01-20
上傳用戶:cuibaigao
單片機(jī)對(duì)eeprom源程序和頭文件 ** PROJEKT, bestehend aus 4 Teilen *** ** Write_EEPROM ** Write_EEPROM.Uv2 i2c_DEF.h tst_I2C.c Write_EEPROM.OPT Globals.h ** Chip_Inc ** 16550.h 81C90.h phyCORE_591.h LAB537.h MCB517AC.h PCF8584.H CM517A.h PIO_8255.h RTC72421.h DEF_BOARDS.H MOD515.h I2c_Chip_Lib.h ** I2C_Lib ** I2C_lib.c ** Inc_C51b_T2 ** LCD_DEF_LIB.h ASCII2hex.h BCD_HEX.H bcd2hex.h CG_RAM_Lib.H CRC_16.H Def_bits.h DEF_INT.H Defines.h INTELHEX.H ITOA.H ASCI_hex.h LRC.H MAKROS.H PACK_7T8.H Ram_des.h Ram_inv.h Rom_chk.h RS232_BD.h sm_printf.h SOFT_RES.H TASTEN_LIB.H tasten_matrix_lib.h TIME_OUT_lib.H centronics_lib.h I2c_Lib.h DEF_MIC.H
標(biāo)簽: Write_EEPROM bestehend PROJEKT eeprom
上傳時(shí)間: 2016-01-06
上傳用戶:杜瑩12345
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be OPT/cost, where OPT is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
標(biāo)簽: represented integers group items
上傳時(shí)間: 2016-01-17
上傳用戶:jeffery
pcf8584應(yīng)用實(shí)例,*** PROJEKT, bestehend aus 3 Teilen *** ** PCF8584 ** PCF8584.OPT i2c_DEF.h PCF8584.Uv2 PCF8584_lib.c PCF8584_lib.h ringbuf.h ringbuffer.c test.ini tst_I2C.c Globals.h ** Chip_Inc ** 16550.h 81C90.h phyCORE_591.h LAB537.h MCB517AC.h PCF8584.H CM517A.h PIO_8255.h RTC72421.h DEF_BOARDS.H MOD515.h I2c_Chip_Lib.h ** Inc_C51b_T2 ** LCD_DEF_LIB.h ASCII2hex.h BCD_HEX.H bcd2hex.h CG_RAM_Lib.H CRC_16.H Def_bits.h DEF_INT.H Defines.h INTELHEX.H ITOA.H ASCI_hex.h LRC.H MAKROS.H PACK_7T8.H Ram_des.h Ram_inv.h Rom_chk.h RS232_BD.h sm_printf.h SOFT_RES.H TASTEN_LIB.H tasten_matrix_lib.h TIME_OUT_lib.H centronics_lib.h I2c_Lib.h DEF_MIC.H
標(biāo)簽: 8584 pcf 應(yīng)用實(shí)例
上傳時(shí)間: 2014-01-14
上傳用戶:hopy
操作系統(tǒng)實(shí)驗(yàn)(LINUX): 設(shè)計(jì)一個(gè)虛擬存儲(chǔ)區(qū)和內(nèi)存工作區(qū),并使用下列算法計(jì)算訪問命中率. (1) 進(jìn)先出的算法(FIFO) (2) 最近最少使用的算法(LRU) (3) 最佳淘汰算法(OPT) (4) 最少訪問頁面算法(LFU) (5) 最近最不經(jīng)常使用算法(NUR) 命中率=(1-頁面失效次數(shù))/頁地址流長(zhǎng)度
上傳時(shí)間: 2016-03-11
上傳用戶:tedo811
用VC++實(shí)現(xiàn)了基因遺傳算法,可以通過該程序進(jìn)行基因算法仿真,編譯前先刪除.ncb 和.OPT文件,再重新編譯運(yùn)行。
上傳時(shí)間: 2014-11-22
上傳用戶:wang0123456789
演示幾種存儲(chǔ)控制器的算法,fifo,lru,nur,OPT
上傳時(shí)間: 2016-08-09
上傳用戶:lanhuaying
操作系統(tǒng)課程設(shè)計(jì)《頁面置換算法》,內(nèi)含設(shè)計(jì)文檔。 設(shè)計(jì)要求為:作業(yè)共有320條指令,即它的地址空間為32頁,目前它的所有頁都還未調(diào)入內(nèi)存。再模擬過程中,如果所訪問的指令已在內(nèi)存,則顯示其物理地址,并轉(zhuǎn)下一條指令。如果所訪問的指令還未裝入內(nèi)存,則發(fā)生缺頁,此時(shí)需要記錄缺頁的次數(shù),并將相應(yīng)頁調(diào)入內(nèi)存。如果4個(gè)內(nèi)存塊均已裝入該作業(yè),則需要進(jìn)行頁面置換,最后顯示其物理地址,并轉(zhuǎn)向下一條指令。在所有320條指令執(zhí)行完畢后,請(qǐng)計(jì)算并顯示作業(yè)運(yùn)行過程中發(fā)生的缺頁率。 實(shí)現(xiàn)方法為:最佳置換算法(OPT)、先進(jìn)先出(FIFO)算法和最近最久未使用(LRU)算法。
標(biāo)簽: 操作系統(tǒng) 頁 算法
上傳時(shí)間: 2014-03-10
上傳用戶:banyou
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1