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
上傳用戶:lhc9102
KPhoneIM is a simple point to point instant messaging application. You may chat with (exactly) one partner directly. The tool needs no server. It may be called from KPhoneSI as external session. Indeed, I develloped the tool mainly to demonstrate KPhoneSI s concept of external sessions!
標(biāo)簽: point application messaging KPhoneIM
上傳時(shí)間: 2015-09-13
上傳用戶:lhw888
AppWizard has created this DSX01 DLL for you. This DLL not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your DLL.
標(biāo)簽: demonstrates AppWizard DLL created
上傳時(shí)間: 2015-09-21
上傳用戶:ryb
This getting started exercise will guide you through the step-by-step process of transforming a MATLAB floating-point model into a hardware module that can be implemented in silicon (FPGA or ASIC). The design is a general purpose FIR filter taken from the AccelDSP Examples directory.
標(biāo)簽: step-by-step transforming exercise getting
上傳時(shí)間: 2014-01-17
上傳用戶:VRMMO
CCS編程環(huán)境 使用的是匯編加C的混合編程方法: The programme of the Correlation Algorithm. Using INT2 to get the input signal. Array x, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array y, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array cor is the Correlation result, the length is 255, 32-bit floating point.
標(biāo)簽: Correlation Algorithm programme the
上傳時(shí)間: 2013-12-21
上傳用戶:leixinzhuo
palm編成,這種書(shū)很少,有興趣看看 Title: Palm Programming: The Developer s Guide URL: http://safari.oreilly.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=1-56592-525-4&open=false&srchText=palm+programming&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&page=0 ISBN: 1-56592-525-4 Author: Julie McKeehan/ Neil Rhodes Publisher: O Reilly Page: 478 Edition: 1st edition (December 1998) Catalog: PDA programming / Palm Format: pdf Size: 2.06M Supplier: Summary: Emerging as the bestselling hand-held computers of all time, PalmPilots have spawned intense developer activity and a fanatical following. Used by Palm in their developer training, this tutorial-style book shows intermediate to experienced C programmers how to build a Palm application from the ground up. Includes a CD-ROM with source code and third-party developer tools
標(biāo)簽: Programming Developer oreilly safari
上傳時(shí)間: 2013-12-10
上傳用戶:litianchu
實(shí)現(xiàn)一個(gè)類,描述二維平面的直線Line。 描述屬性:私有屬性 直線所通過(guò)的點(diǎn):Point p; 直線的斜率:double m 實(shí)現(xiàn)方法: 直線的構(gòu)建; 返回直線的兩個(gè)屬性; 返回直線在Y軸上的截距:yIntercept ; 判斷兩條直線是否相等; 顯示直線的內(nèi)容:y = mx + b isParallelTo(Line line2),判斷本直線與直線line2是否平行; isPeroendicularTo(Line line2),判斷本直線與直線line2是否垂直; translate(double dx, double dy),將直線向右移動(dòng)dx單位,向上移動(dòng)dy單位; rarate(double ta),將直線沿逆時(shí)針?lè)较蛐D(zhuǎn)ta度
標(biāo)簽:
上傳時(shí)間: 2015-10-24
上傳用戶:Divine
Developers use algorithms and data structures every day of their working lives. Having a good under-standing of these algorithms and knowledge of when to apply them is essential to producing softwarethat not only works correctly, but also performs efficiently. This book aims to explain those algorithms and data structures most commonly encountered in day-to-day software development, while remaining at all times practical, concise, and to the point, with little orno verbiage to distract from the core concepts and examples.
標(biāo)簽: Developers algorithms structures working
上傳時(shí)間: 2015-11-03
上傳用戶:wyc199288
To develop functional modules to process grayscale image intensity data. And perform Point and spatial operations. Uses Prewitt, Sobel, and Laplacian of Guassian Methods. And calculates their histograms.
標(biāo)簽: functional grayscale intensity develop
上傳時(shí)間: 2015-11-09
上傳用戶:源弋弋
A one-dimensional calibration object consists of three or more collinear points with known relative positions. It is generally believed that a camera can be calibrated only when a 1D calibration object is in planar motion or rotates around a ¯ xed point. In this paper, it is proved that when a multi-camera is observing a 1D object undergoing general rigid motions synchronously, the camera set can be linearly calibrated. A linear algorithm for the camera set calibration is proposed,and then the linear estimation is further re¯ ned using the maximum likelihood criteria. The simulated and real image experiments show that the proposed algorithm is valid and robust.
標(biāo)簽: one-dimensional calibration collinear consists
上傳時(shí)間: 2014-01-12
上傳用戶:璇珠官人
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1