有N件物品和一個(gè)容量為V的背包。第i件物品的費(fèi)用是c,價(jià)值是w。求解將哪些物品裝入背包可使這些物品的費(fèi)用總和不超過(guò)背包容量,且價(jià)值總和最大。
標(biāo)簽: 容量
上傳時(shí)間: 2014-01-19
上傳用戶(hù):小儒尼尼奧
XT_KeyBoard interface with 8951 using Assembler and Document for Key board delivered data details, Which will help to dvelope for any processor and controller interface.
標(biāo)簽: XT_KeyBoard Assembler interface delivered
上傳時(shí)間: 2014-01-09
上傳用戶(hù):鳳臨西北
賦權(quán)有向圖中心問(wèn)題 問(wèn)題描述: 設(shè)G=(V,E)是一個(gè)賦權(quán)有向圖,v是G的一個(gè)頂點(diǎn), v的偏心距定義為: Max {w∈ V,從w到v的最短路徑長(zhǎng)度} G中偏心距最小的頂點(diǎn)稱(chēng)為G的中心。試?yán)肍loyd 算法設(shè)計(jì)一個(gè)求賦權(quán)有向圖中心的算法。
標(biāo)簽:
上傳時(shí)間: 2017-08-17
上傳用戶(hù):klin3139
/* * tesswind.c * This program demonstrates the winding rule polygon * tessellation property. Four tessellated objects are drawn, * each with very different contours. When the w key is pressed, * the objects are drawn with a different winding rule. */
標(biāo)簽: demonstrates tessellation tesswind program
上傳時(shí)間: 2013-12-10
上傳用戶(hù):星仔
This file contains all possible questions that the exam 2 could contain (SSD2 consideration), as well as exercises that may require the practical examination, I hope they help, luck!
標(biāo)簽: consideration questions contains possible
上傳時(shí)間: 2013-12-25
上傳用戶(hù):himbly
for entropy H = entropy(S) this command will evaluate the entropy of S, S should be row matrix H = entropy([X Y Z]) this command will find the joint entropy for the 3 variables H = entropy([X,Y],[Z,W]) this will find H(X,Y/Z,W).. you can use it for any combination of joint entropies Please validate this function before using it
標(biāo)簽: entropy evaluate command matrix
上傳時(shí)間: 2017-09-10
上傳用戶(hù):caozhizhi
This is a comparison foundation construction of data example code, the function is quite complete, was myself debugs the successful procedure, might again on Visual c++ the direct movement
標(biāo)簽: construction comparison foundation complete
上傳時(shí)間: 2013-12-30
上傳用戶(hù):cxl274287265
1. 心理學(xué)家( )于1879年在德國(guó)的萊比錫大學(xué)建立了世界上第一個(gè)心理實(shí)驗(yàn)室,從而使心理學(xué)成 為了一門(mén)獨(dú)立的科學(xué)。 A 艾賓浩斯(Ebbinghaus)B 繆勒(G.E.Muller)C 費(fèi)希納(Fechner) D 馮特(W.Wundt) 2. 研究人的心理活動(dòng)的一般規(guī)律的科學(xué)是指( )。 A 工程心理學(xué) B 普通心理學(xué) C 工程心理學(xué) D 社會(huì)心理學(xué)
標(biāo)簽: 職業(yè)教育心理學(xué)
上傳時(shí)間: 2015-03-10
上傳用戶(hù):FUCSAD
DATAS SEGMENT w dw 0 keybuf db 255 db 0 db 255 dup(0) ;定義鍵盤(pán)輸入需要的緩沖區(qū) DATAS ENDS STACKS SEGMENT db 200 dup(?) STACKS ENDS CODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKS START: MOV AX,DATAS MOV DS,AX mov dx,offset keybuf ;用0a號(hào)功能,輸入一個(gè)字符串 mov ah,0ah ;用回車(chē)結(jié)束 int 21h mov dl,0ah ;再進(jìn)行換行,以便在下一行顯示轉(zhuǎn)換后的字符串 mov ah,2 int 21h ; push ax ; push dx ; mov dl,cl ; mov ah,02 ; int 21h ; pop dx ; pop ax mov bx,offset keybuf+1 ;取出字符串的字符個(gè)數(shù),作為循環(huán)的次數(shù) mov cl,[bx] mov ch,0 mov ax,0 again: inc bx mov ax,[w] push bx mov bx,16 mul bx pop bx ;是小寫(xiě)字母,則轉(zhuǎn)換為大寫(xiě)字母 mov [w],ax mov dl,[bx] ;取出一個(gè)字符, cmp dl,'9' jbe lab1 cmp dl,'F' jbe lab2 sub dl,32 lab2: sub dl ,07h lab1: sub dl,30h add [w],dx loop again mov ax,[w] mov bx,-1 push bx mov bx,10 lab3 :mov dx,0 div bx push dx cmp ax,0 jnz lab3 lab5: pop dx cmp dx,-1 jz lab4 add dl,30h mov ah,02 int 21h jmp lab5 ;循環(huán),處理完整個(gè)字符串 lab4: MOV AH,4CH INT 21H CODES ENDS END START
標(biāo)簽: 匯編
上傳時(shí)間: 2015-04-02
上傳用戶(hù):wcc0310
Boost C++ Libraries Free peer-reviewed portable C++ source libraries Boost C++ Libraries 基本上是一個(gè)免費(fèi)的 C++ 的跨平臺(tái)函式庫(kù)集合,基本上應(yīng)該可以把它視為 C++ STL 的功能再延伸;他最大的特色在於他是一個(gè)經(jīng)過(guò)「同行評(píng)審」(peer review,可參考維基百科)、開(kāi)放原始碼的函式庫(kù),而且有許多 Boost 的函式庫(kù)是由 C++ 標(biāo)準(zhǔn)委員會(huì)的人開(kāi)發(fā)的,同時(shí)部分函式庫(kù)的功能也已經(jīng)成為 C++ TR1 (Technical Report 1,參考維基百科)、TR2、或是 C++ 0x 的標(biāo)準(zhǔn)了。 它的官方網(wǎng)站是:http://www.boost.org/,包含了 104 個(gè)不同的 library;由於他提供的函式庫(kù)非常地多,的內(nèi)容也非常地多元,根據(jù)官方的分類(lèi),大致上可以分為下面這二十類(lèi): 字串和文字處理(String and text processing) 容器(Containers) Iterators 演算法(Algorithms) Function objects and higher-order programming 泛型(Generic Programming) Template Metaprogramming Preprocessor Metaprogramming Concurrent Programming 數(shù)學(xué)與數(shù)字(Math and numerics) 正確性與測(cè)試(Correctness and testing) 資料結(jié)構(gòu)(Data structures) 影像處理(Image processing) 輸入、輸出(Input/Output) Inter-language support 記憶體(Memory) 語(yǔ)法分析(Parsing) 程式介面(Programming Interfaces) 其他雜項(xiàng) Broken compiler workarounds 其中每一個(gè)分類(lèi),又都包含了一個(gè)或多個(gè)函式庫(kù),可以說(shuō)是功能相當(dāng)豐富。
標(biāo)簽: Boost C++ Libraries
上傳時(shí)間: 2015-05-15
上傳用戶(hù):fangfeng
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1