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 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...
上傳時間: 2014-01-01
上傳用戶:lhc9102
資源簡介:This project shows the basics of how to connect to and communicate with a USB device from User Space. It is written as a standard Unix tool.
上傳時間: 2013-12-18
上傳用戶:star_in_rain
資源簡介:Simple SunPlus SP54 codec converter and a more playable mode MJPG. untar the archive go to the relevant directory to compile: just do make to install: with root account cp sp54convert /usr/local/bin to use: sp54convert infil...
上傳時間: 2013-12-30
上傳用戶:1079836864
資源簡介:This book is the most accurate and up-to-date source of information the STL currently available. ... It has an approach and appeal of its own: it explains techniques for building data structures and algorithms on top of the STL, and in this...
上傳時間: 2015-10-31
上傳用戶:CHINA526
資源簡介:This project demonstrates the use of secure hash functions technique to implement a file encryption / decryption system. This Implemented application can encrypt / decrypt multiple files on the fly using a password. The password supplied...
上傳時間: 2017-03-08
上傳用戶:xuanchangri
資源簡介:This project demonstrates the use of secure hash functions technique to implement a file encryption / decryption system. This Implemented application can encrypt / decrypt multiple files on the fly using a password. The password supplied...
上傳時間: 2014-01-10
上傳用戶:yyq123456789
資源簡介:Matlab simulate AMP.It covers that the source code and how to compile it
上傳時間: 2013-12-17
上傳用戶:zxc23456789
資源簡介:aDABOOST This package contains the following files: learner.jar - is a platform independent java package. In order to run it on windows/linux open the command prompt/shell and type the command "java -jar learner.jar". Make sure the...
上傳時間: 2014-12-05
上傳用戶:xsnjzljj
資源簡介:This project uses the capabilities of LabVIEW to determine the temperature of a thermistor
上傳時間: 2014-01-05
上傳用戶:cainaifa
資源簡介:This project uses the capabilities of LabVIEW and the data acquisition card to measure the power spectrum of an audio signal.
上傳時間: 2017-03-21
上傳用戶:hn891122
資源簡介:This book describes the following communications applications: Mail, Message Handler( MH), Transmission ControlProtocol/ Internet Protocol(TCP/ IP), Basic Networking Utilities( BNU), and Asynchronous Terminal Emulation( ATE). It provides ov...
上傳時間: 2013-12-18
上傳用戶:woshini123456
資源簡介:Matrix Transposition and Multiplication It is a MIPS assembly program that does the following: given two matrices, M1 and M2, first transpose M2 to obtain M2tran. Then multiply M1 and M2tran.
上傳時間: 2016-05-03
上傳用戶:kernaling
資源簡介:this directory contains the following: * The acdc algorithm for finding the approximate general (non-orthogonal) joint diagonalizer (in the direct Least Squares sense) of a set of Hermitian matrices. [acdc.m] * The acdc algorit...
上傳時間: 2014-01-17
上傳用戶:hanli8870
資源簡介:This project shows the temperature on a three digit 7-segment display, it measures the temperature from -9.5 to 99 degrees Celcius in 0.5 C steps, or from 0 to 210 degrees Fahrenheit in 1.0 degrees steps. Because of the LED display the temp...
上傳時間: 2017-04-16
上傳用戶:xuanjie
資源簡介:graspForth is my humble attempt at a Forth-in-C that has the following goals: GCC ......... to support all 32-bit micros that GCC cross-compiles to. Relocatable . to be able to run in-place in either Flash or Ram. Fast ........ to be "...
上傳時間: 2015-05-23
上傳用戶:tfyt
資源簡介:aiNet application is a very powerful and a very simple tool for solving the problems which are usually solved with artificial neural networks (ANN). All possible tests we had run proved that the results obtained with aiNet are at least as g...
上傳時間: 2014-01-16
上傳用戶:wang5829
資源簡介:Implement a phone book system for employees of a company. Your program will output the following menu (1) Enter an employee and a phone pair to the system (2) Lookup an employee s phone number (3) Find out who is/are the person(s) of a ...
上傳時間: 2013-12-17
上傳用戶:zhangliming420
資源簡介:a Java program that reads in the following values from the standard input device (i.e. Keyboard) and writes its result on the standard output device (i.e. Console/Monitor): Inputs: A: the loan amount in dollars and cents (e.g. 150000.00)...
上傳時間: 2013-12-15
上傳用戶:米卡
資源簡介:This package contains the following source code files: - demo.c Demo application source, with message packing/unpacking example - benchmark.c Benchmark source, to benchmark pack/unpack operations - dl_c_is...
上傳時間: 2013-12-19
上傳用戶:米卡
資源簡介:This project solves the purpose of creating vb6 application using oracle database in back end. It shows how to handle the record with the oracle. my other source codes are at: http://www.developerssourcecode.com Shyam Singh Chandel
上傳時間: 2013-12-18
上傳用戶:清風冷雨
資源簡介:C8051F320范例: This release contains the following components: * USB Interrupt Driver Example * USB Interrupt Firmware Example * Host Application (USBTest.exe) * Host Application Source
上傳時間: 2016-08-28
上傳用戶:鳳臨西北
資源簡介:this is use the matlab...routing protocol shortest path algorithm
上傳時間: 2013-12-16
上傳用戶:kikye
資源簡介:This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the s...
上傳時間: 2014-12-01
上傳用戶:獨孤求源
資源簡介:This a full 3-tier dababase application which includes a activex dll project(business objects) and a standard exe(UI). Besides all the database techniques it demonstrates, it also shows how to make MSHFlexgrid a editable grid(with combobox,...
上傳時間: 2014-01-01
上傳用戶:qq21508895
資源簡介:jsp和xml。XML and JSP are two important tools available in producing a web application. This chapter examines the potential of mixing these two technologies in order to enhance the capabilities of JSP. While this chapter will cover many t...
上傳時間: 2013-12-10
上傳用戶:1427796291
資源簡介:This Application Note describes the steps that are required to install and use the Keil Monitor-51 on a user specific hardware. The Keil Monitor-51 allows you to connect your 8051 hardware to the μVision2 Debugger. You can use the powerf...
上傳時間: 2013-12-03
上傳用戶:lvzhr
資源簡介:This directory contains the Genetic Algorithm Optimization Toolbox for Matlab To use this, if you are local to NCSU and have AFS access to this directory, simply extend the matlab path using the following command. You can also place thi...
上傳時間: 2014-01-18
上傳用戶:songnanhua
資源簡介:ECE345, Visual-to-Audio Electronic Travel Aid Code for TM320C54x (v2a.asm) download This project involves the design and implementation of a audio synthesis device that converts moving images into audio signals. The system is built on a...
上傳時間: 2017-02-01
上傳用戶:笨小孩
資源簡介:Using an easy-to-follow format, this book explains the basics of MATLAB up front. You ll find out how to plot functions, solve algebraic equations, and compute integrals. You ll also learn how to solve differential equations, generate numer...
上傳時間: 2017-04-10
上傳用戶:時代電子小智
資源簡介:The libosip library is known to compile on various platform: * GNU/Linux * MacOSX (Darwin) * OpenBsd 3.1/3.2 // (FreeBSD&NetBSD should also work) * Windows NT/95/2000 (VC++6.0 or cygwin) * Solaris * HP-Unix. * VxWorks. * Som...
上傳時間: 2015-07-16
上傳用戶:skfreeman