—圖數(shù)據(jù)類型的實現(xiàn)——問題描述:圖是一種較線性表和樹更為復(fù)雜的數(shù)據(jù)結(jié)構(gòu)。在圖形結(jié)構(gòu)中,結(jié)點之間的關(guān)系是任意的,任意兩個數(shù)據(jù)元素之間都可能相關(guān),因此,圖的應(yīng)用非常廣泛,已滲入到諸如語言學(xué)‘邏輯學(xué)、物理、化學(xué)、電訊工程、計算機科學(xué)及數(shù)學(xué)的其它分支中。因此,實現(xiàn)圖這種數(shù)據(jù)類型也尤為重要,在該練習(xí)中即要實現(xiàn)圖的抽象數(shù)據(jù)類型。基本要求:2、 定義出圖的ADT;3、 采用鄰接矩陣及鄰接表的存儲結(jié)構(gòu)(有向圖也可使用十字鏈表)實現(xiàn)以下操作:a. 構(gòu)造圖 b. 銷毀圖 c. 定位操作d. 訪問圖中某個頂點的操作e. 給圖中某個頂點賦值的操作f. 找圖中某個頂點的第一個鄰接點g. 找出圖G中頂點v相對于w的下一個鄰接點h. 在圖G中添加新頂點vi. 刪除圖G中頂點vj. 在圖G中插入一條邊k. 在圖G中刪除一條邊l. 實現(xiàn)圖的深度遍歷操作m. 實現(xiàn)圖的廣度遍歷操作參考提示:具體內(nèi)容參看教科書本156頁實驗要求:對于以上具體操作要求實現(xiàn)時有良好的用戶交互界面。詳細(xì)設(shè)計、編碼、測試。
標(biāo)簽: 數(shù)據(jù)類型 圖形 線性 樹
上傳時間: 2015-03-13
上傳用戶:saharawalker
最新的支持向量機工具箱,有了它會很方便 1. Find time to write a proper list of things to do! 2. Documentation. 3. Support Vector Regression. 4. Automated model selection. REFERENCES ========== [1] V.N. Vapnik, "The Nature of Statistical Learning Theory", Springer-Verlag, New York, ISBN 0-387-94559-8, 1995. [2] J. C. Platt, "Fast training of support vector machines using sequential minimal optimization", in Advances in Kernel Methods - Support Vector Learning, (Eds) B. Scholkopf, C. Burges, and A. J. Smola, MIT Press, Cambridge, Massachusetts, chapter 12, pp 185-208, 1999. [3] T. Joachims, "Estimating the Generalization Performance of a SVM Efficiently", LS-8 Report 25, Universitat Dortmund, Fachbereich Informatik, 1999.
上傳時間: 2013-12-16
上傳用戶:亞亞娟娟123
算法ebook(10部算法經(jīng)典著作的合集) 算法ebook> 10部算法經(jīng)典著作的合集 chm格式 (1)Fundamentals of Data Structures by Ellis Horowitz and Sartaj Sahni (2)Data Structures, Algorithms and Program Style Using C by James F. Korsh and Leonard J. Garrett (3)Data Structures and Algorithm Analysis in C by Mark Allen Weiss (4)Data Structures: From Arrays to Priority Queues by Wayne Amsbury (5)Information Retrieval: Data Structures & Algorithms edited by William B. Frakes and Ricardo Baeza-Yates (6)Introduction to Algorithms by Thomas H. Cormen, Charles E. Leiserson, and Ronald L. Rivest (7)Practical Data Structures in C++ by Bryan Flamig (8)Reliable Data Structures in C by Thomas Plum (9)Data Structures and Algorithms Alfred V. Aho, Bell Laboratories, Murray Hill, New Jersey John E. Hopcroft, Cornell University, Ithaca, New York Jeffrey D. Ullman, Stanford University, Stanford, California (10)DDJ Algorithms and Data Structures Articles
標(biāo)簽: ebook Fundamentals Structures Ellis
上傳時間: 2015-04-04
上傳用戶:tfyt
加密算法 Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives: - To generate an RSA key cryptest g - To encrypt and decrypt a string using RSA cryptest r - To calculate MD5, SHS, and RIPEMD-160 message digests: cryptest m file - To encrypt and decrypt a string using DES-EDE in CBC mode: cryptest t - To encrypt or decrypt a file cryptest e|d input output - To share a file into shadows: cryptest s <pieces> <pieces-needed> file (make sure file has no extension, if you re running this under DOS) - To reconstruct a file from shadows: cryptest j output file1 file2 [....] - To gzip a file: cryptest z <compression-level> input output - To gunzip a file: cryptest u input output - To run validation tests: cryptest v - To run benchmarks: cryptest b [time for each benchmark in seconds]
標(biāo)簽: Cryptographic Primitives generate Library
上傳時間: 2015-07-16
上傳用戶:wqxstar
代入法的啟發(fā)示搜索 我的代碼實現(xiàn)是:按照自然語言各字母出現(xiàn)頻率的大小從高到低(已經(jīng)有人作國統(tǒng)計分析了)先生成一張字母出現(xiàn)頻率統(tǒng)計表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對密文字母計算頻率,并按頻率從高到低生成一張輸入密文字母的統(tǒng)計表(B),通過兩張表的對應(yīng)關(guān)系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關(guān)鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
關(guān)于bf531的好程序,抵抗力計劃活動房HAOOBO B V
上傳時間: 2013-12-19
上傳用戶:凌云御清風(fēng)
提出了利用FPGA的現(xiàn)場可編程以及可并行處理的特性,對基于人工神經(jīng)網(wǎng)絡(luò)的圖像處理結(jié)構(gòu)進(jìn)行自動生成的一種技術(shù)。作者:Andre B. Soares, Altamiro A. Susin,Leticia V. Guimaraes
標(biāo)簽: FPGA 現(xiàn)場可編程 并行處理
上傳時間: 2016-04-14
上傳用戶:gxf2016
基于J2EE技術(shù)的網(wǎng)上商城系統(tǒng)構(gòu)建 本課題以國家8 6 3引導(dǎo)項目 , 暨新疆自治區(qū)高新計劃項目 — 廣匯美居物流園網(wǎng)上 商城系統(tǒng)為背景。旨 在利用先進(jìn)的系統(tǒng)建模思想以及當(dāng)前流行的We b編程技術(shù),將迭 代式、以用戶需求為驅(qū)動和以構(gòu)架為中心的R U P統(tǒng)一開發(fā)過程的系統(tǒng)建模思想應(yīng)用到 電子商務(wù)系統(tǒng)模型的需求分析和設(shè)計的各個階段, 完整地實現(xiàn)整個系統(tǒng)的建模過程。 在 此基礎(chǔ)上對系統(tǒng)實現(xiàn)的關(guān)鍵技術(shù)問題:數(shù)據(jù)庫的并發(fā)訪問,MV C模式的應(yīng)用以及統(tǒng)計 信息的圖表顯示等關(guān)鍵技術(shù)進(jìn)行了具體的分析和實現(xiàn)。 本文利用I nt e 川 e 吸 的強大功能,借鑒國內(nèi)外電子商務(wù)方面的相關(guān)經(jīng)驗,分析虛擬店 鋪,網(wǎng)上商城及網(wǎng)上拍賣的功能結(jié)構(gòu)和實現(xiàn)方式, 為廣匯美居物流園的商戶搭建網(wǎng)上虛 擬店鋪,網(wǎng)上商城及網(wǎng)上商品竟拍系統(tǒng)平臺。該系統(tǒng)經(jīng)過近半年的使用,實際應(yīng)用效果 較好。采用的R U P開發(fā)方法和M V c的設(shè)計模式使系統(tǒng)的靈活性和可擴展性大大增強。
標(biāo)簽: J2EE 網(wǎng)上商城 系統(tǒng)構(gòu)建 家
上傳時間: 2014-12-03
上傳用戶:edisonfather
!逐步回歸分析程序: ! M:輸入變量,M=N+1,其中N為自變量的個數(shù);M包括的因變量個數(shù) ! K:輸入變量,觀測點數(shù); ! F1:引入因子時顯著性的F-分布值; ! F2:剔除因子時顯著性的F-分布值; ! XX:存放自變量和因變量的平均值; ! B:存放回歸系數(shù); ! V:存放偏回歸平方和和殘差平方和Q; ! S:存放回歸系數(shù)的標(biāo)準(zhǔn)偏差和估計的標(biāo)準(zhǔn)偏差; ! C:存放復(fù)相關(guān)系數(shù); ! F:存放F-檢驗值;
上傳時間: 2013-12-12
上傳用戶:zaizaibang
flash 鍵盤音效取自win2000系統(tǒng)ding.wav,經(jīng)過CoolEdit處理成音階,在Flash中導(dǎo)入在相應(yīng)按鈕上。 沒有難度,就是耐心一點,成績不錯哦! 對應(yīng)表: 低音G-a #G-w A-s #A-e B-d 中音C-f #C-t D-g #D-y E-h F-j #F-i G-k #G-o A-l #A-p B- 高音C-1 D-2 E-3 F-4 G-5 A-6 B-7 C(high)-8 #C-c #D-v #F-b #G-n #A-m
上傳時間: 2014-02-06
上傳用戶:ljmwh2000
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1