包括Pheromones Algorythm、Memory Algorythm和Hill Climbing Algorythm I,II,III在內(nèi)的多個人工智能算法的實現(xiàn)
標簽: Algorythm Pheromones Climbing Memory
上傳時間: 2014-01-01
上傳用戶:duoshen1989
程序存儲問題:設有n 個程序{1,2,…, n }要存放在長度為L的磁帶上。程序i存放在磁帶上的長度是Li ,1≤i≤n 程序存儲問題要求確定這n 個程序在磁帶上的一個存儲方案,使得能夠在磁帶上存儲盡可能多的程序。 編程任務: 對于給定的n個程序存放在磁帶上的長度,編程計算磁帶上最多可以存儲的程序數(shù)。 數(shù)據(jù)輸入:由文件input.txt給出輸入數(shù)據(jù)。第一行是正整數(shù)n,表示文件個數(shù)。接下來的1 行中,有n 個正整數(shù),表示程序存放在磁帶上的長度。 結果輸出: input.txt output.txt 6 50 5 2 3 13 8 80 20
上傳時間: 2013-12-20
上傳用戶:dongqiangqiang
/*最大k乘積問題 問題描述: 設I是一個n位十進制整數(shù)。如果將I劃分為k段,則可得到k個整數(shù)。這k個整數(shù)的乘積稱為I的一個k乘積 。 試設計一個算法,對于給定的I和k,求出I的最大k乘積(n<=10)。 示例:輸入為 : 4 3 結果:1234 */
上傳時間: 2013-12-14
上傳用戶:caixiaoxu26
(1)輸入E條弧<j,k>,建立AOE-網(wǎng)的存儲結構 (2)從源點v出發(fā),令ve[0]=0,按拓撲排序求其余各項頂點的最早發(fā)生時間ve[i](1<=i<=n-1).如果得到的拓樸有序序列中頂點個數(shù)小于網(wǎng)中頂點數(shù)n,則說明網(wǎng)中存在環(huán),不能求關鍵路徑,算法終止 否則執(zhí)行步驟(3)(3)從匯點v出發(fā),令vl[n-1]=ve[n-1],按逆拓樸排序求其余各頂點的最遲發(fā)生時間vl[i](n-2>=i>=2). (4)根據(jù)各頂點的ve和vl值,求每條弧s的最早發(fā)生時間e(s)和最遲開始時間l(s).若某條弧滿足條件e(s)=l(s),則為關鍵活動.
上傳時間: 2014-11-28
上傳用戶:fredguo
這是一個轉為i/o卡開發(fā)得驅動程序,配接得是俄華通得組態(tài)軟件
標簽: 驅動程序
上傳時間: 2013-12-30
上傳用戶:zhuimenghuadie
線性表元素刪除運算,刪除線性表L中第i個位置上的元素
上傳時間: 2015-03-19
上傳用戶:宋桃子
I2C控制核設計,由VHDL語言編寫,使普通I/O端口實現(xiàn)I2C性能
上傳時間: 2013-12-13
上傳用戶:kiklkook
Java I/O API之性能分析 IO API的可伸縮性對Web應用有著極其重要的意義。Java 1.4版以前的API中,阻塞I/O令許多人失望。從J2SE 1.4版本開始,Java終于有了可伸縮的I/O API。本文分析并計算了新舊I/O API在可伸縮性方面的差異。
上傳時間: 2014-09-04
上傳用戶:zxc23456789
Overview In this chapter I introduce Borland C++Builder (BCB) and explain what it is about. I also devote considerable time to explaining the purpose of this book and the philosophy behind my approach to technical writing. Technical subjects covered in this chapter include Creating a simple Multimedia RAD program that plays movies, WAV files, and MIDI files. Shutting down the BCB RAD programming tools and writing raw Windows API code instead. Creating components dynamically on the heap at runtime. Setting up event handlers (closures) dynamically at runtime. A brief introduction to using exceptions. This topic is covered in more depth in Chapter 5, "Exceptions." A brief introduction to ANSI strings. This subject is covered in more depth in Chapter 3, "C++Builder and the VCL." Using the online help. Greping through the include and source files that come with the product and with this book.
標簽: introduce Overview Borland Builder
上傳時間: 2014-01-04
上傳用戶:小鵬
通過I/O模同步串口與74HC595進行連接,控制74HC595驅動LED數(shù)管顯示
上傳時間: 2014-01-21
上傳用戶:qilin