Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The input is loaded from a input file in.txt Here is the format of the input file: The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of input file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following input are for A* The following line contains two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
標簽: Implemented following compile command
上傳時間: 2014-01-01
上傳用戶:lhc9102
《三江學院師資管理系統(tǒng)》 核心模塊功能簡介 《三江學院師資管理系統(tǒng)》是基于B/S架構(gòu)的Web應用程序,校園網(wǎng)上任何合法用戶可以直接訪問。一期工程實現(xiàn)了該系統(tǒng)的核心功能模塊,包括安全認證、教師信息維護、學科信息維護、部分報表打印等功能,該系統(tǒng)已投入試運行。目前該系統(tǒng)安裝在計算機系應用軟件開發(fā)組服務器上,內(nèi)網(wǎng)IP地址為192.168.xxx.xxx。需要訪問師資系統(tǒng)的用戶請在瀏覽器地址欄輸入
標簽: Web 管理系統(tǒng) 核心 架構(gòu)
上傳時間: 2014-01-09
上傳用戶:獨孤求源
基于B樣條小波邊緣檢測算子的應用研究,摘自圖形圖像學報
上傳時間: 2014-11-28
上傳用戶:來茴
四種加密解密算法的源代碼/*輾轉(zhuǎn)相除法求a,b的最大公因數(shù)*/
上傳時間: 2015-09-11
上傳用戶:GavinNeko
Ma tla b 是當今使用最為廣泛的數(shù)學軟件,它具有相當強大的數(shù)值計算、數(shù)據(jù)處理、系統(tǒng) 分析、圖形顯示、甚至符號運算功能,是一個完整的數(shù)學平臺,但是它不能實現(xiàn)端口操作和 實時控制Borland C + +Builder是一種新穎的可視化編程語言,可方便實現(xiàn)交互界面、數(shù)據(jù) 采集和端口操作等,但是它在數(shù)值處理分析和算法工具等方面,效率遠遠低于Matlab語言
上傳時間: 2014-01-24
上傳用戶:牛津鞋
Bing is a point-to-point bandwidth measurement tool (hence the b ), based on ping. Bing determines the real (raw, as opposed to available or average) throughput on a link by measuring ICMP echo requests roundtrip times for different packet sizes for each end of the link
標簽: Bing point-to-point measurement determines
上傳時間: 2015-09-15
上傳用戶:lgnf
用單鏈表實現(xiàn)對兩個無序 A,B表進行合并并使的合并后的表按從小到大排序
上傳時間: 2013-11-30
上傳用戶:253189838
教師管理系統(tǒng)是在學校局域網(wǎng)架設的B/S結(jié)構(gòu)的辦公平臺。系統(tǒng)有四個模塊:系統(tǒng)設置,通知通告,領導信箱,文件中心。系統(tǒng)開發(fā)環(huán)境:JAVA,數(shù)據(jù)庫為Mysql,TOMCAT
標簽: 管理系統(tǒng) 局域網(wǎng) 模塊
上傳時間: 2013-12-28
上傳用戶:zjf3110
設A和B是長度相同的2個字符串。A和B的距離定義為相應位置字符距離之和。2個非空格字符的距離是它們的ASCII碼之差的絕對值。空格與空格的距離為0;空格與其它字符的距離為一定值k。 字符串A的擴展是在A中插入若干空格字符所產(chǎn)生的字符串。在字符串A和B的所有長度相同的擴展中,有一對距離最小的擴展,該距離稱為字符串A和B的擴展距離。 對于給定的字符串A和B,試設計一個算法,計算其擴展距離。
上傳時間: 2014-12-22
上傳用戶:15736969615
LCD DRIVER AF-128 B
上傳時間: 2014-12-22
上傳用戶:851197153