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