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.
標(biāo)簽: Implemented following compile command
上傳時(shí)間: 2014-01-01
上傳用戶(hù):lhc9102
《三江學(xué)院師資管理系統(tǒng)》 核心模塊功能簡(jiǎn)介 《三江學(xué)院師資管理系統(tǒng)》是基于B/S架構(gòu)的Web應(yīng)用程序,校園網(wǎng)上任何合法用戶(hù)可以直接訪問(wèn)。一期工程實(shí)現(xiàn)了該系統(tǒng)的核心功能模塊,包括安全認(rèn)證、教師信息維護(hù)、學(xué)科信息維護(hù)、部分報(bào)表打印等功能,該系統(tǒng)已投入試運(yùn)行。目前該系統(tǒng)安裝在計(jì)算機(jī)系應(yīng)用軟件開(kāi)發(fā)組服務(wù)器上,內(nèi)網(wǎng)IP地址為192.168.xxx.xxx。需要訪問(wèn)師資系統(tǒng)的用戶(hù)請(qǐng)?jiān)跒g覽器地址欄輸入
標(biāo)簽: Web 管理系統(tǒng) 核心 架構(gòu)
上傳時(shí)間: 2014-01-09
上傳用戶(hù):獨(dú)孤求源
基于B樣條小波邊緣檢測(cè)算子的應(yīng)用研究,摘自圖形圖像學(xué)報(bào)
標(biāo)簽: 邊緣檢測(cè) 應(yīng)用研究
上傳時(shí)間: 2014-11-28
上傳用戶(hù):來(lái)茴
四種加密解密算法的源代碼/*輾轉(zhuǎn)相除法求a,b的最大公因數(shù)*/
上傳時(shí)間: 2015-09-11
上傳用戶(hù):GavinNeko
Ma tla b 是當(dāng)今使用最為廣泛的數(shù)學(xué)軟件,它具有相當(dāng)強(qiáng)大的數(shù)值計(jì)算、數(shù)據(jù)處理、系統(tǒng) 分析、圖形顯示、甚至符號(hào)運(yùn)算功能,是一個(gè)完整的數(shù)學(xué)平臺(tái),但是它不能實(shí)現(xiàn)端口操作和 實(shí)時(shí)控制Borland C + +Builder是一種新穎的可視化編程語(yǔ)言,可方便實(shí)現(xiàn)交互界面、數(shù)據(jù) 采集和端口操作等,但是它在數(shù)值處理分析和算法工具等方面,效率遠(yuǎn)遠(yuǎn)低于Matlab語(yǔ)言
標(biāo)簽: tla Ma 數(shù)學(xué)軟件
上傳時(shí)間: 2014-01-24
上傳用戶(hù):牛津鞋
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
標(biāo)簽: Bing point-to-point measurement determines
上傳時(shí)間: 2015-09-15
上傳用戶(hù):lgnf
用單鏈表實(shí)現(xiàn)對(duì)兩個(gè)無(wú)序 A,B表進(jìn)行合并并使的合并后的表按從小到大排序
上傳時(shí)間: 2013-11-30
上傳用戶(hù):253189838
教師管理系統(tǒng)是在學(xué)校局域網(wǎng)架設(shè)的B/S結(jié)構(gòu)的辦公平臺(tái)。系統(tǒng)有四個(gè)模塊:系統(tǒng)設(shè)置,通知通告,領(lǐng)導(dǎo)信箱,文件中心。系統(tǒng)開(kāi)發(fā)環(huán)境:JAVA,數(shù)據(jù)庫(kù)為Mysql,TOMCAT
標(biāo)簽: 管理系統(tǒng) 局域網(wǎng) 模塊
上傳時(shí)間: 2013-12-28
上傳用戶(hù):zjf3110
設(shè)A和B是長(zhǎng)度相同的2個(gè)字符串。A和B的距離定義為相應(yīng)位置字符距離之和。2個(gè)非空格字符的距離是它們的ASCII碼之差的絕對(duì)值。空格與空格的距離為0;空格與其它字符的距離為一定值k。 字符串A的擴(kuò)展是在A中插入若干空格字符所產(chǎn)生的字符串。在字符串A和B的所有長(zhǎng)度相同的擴(kuò)展中,有一對(duì)距離最小的擴(kuò)展,該距離稱(chēng)為字符串A和B的擴(kuò)展距離。 對(duì)于給定的字符串A和B,試設(shè)計(jì)一個(gè)算法,計(jì)算其擴(kuò)展距離。
標(biāo)簽: ASCII 字符 字符串 長(zhǎng)度
上傳時(shí)間: 2014-12-22
上傳用戶(hù):15736969615
LCD DRIVER AF-128 B
上傳時(shí)間: 2014-12-22
上傳用戶(hù):851197153
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1