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
這是一個Linux下的USB攝像頭捕捉程序,是一個調用V4L2(Video for Linux 2)非常好的例子。英文介紹為:This is a driver for the USB video bridge USBVision from Zoran/Nogatech, a USB-only cable used in many "webcam" devices. It supports streaming and capture of color or monochrome video via the Video4Linux API. Most V4L apps are compatible with it, but a few video-conferencing programs do not work yet.
上傳時間: 2013-12-15
上傳用戶:開懷常笑
Predefined Style options define the style by setting several other options. If other options are also used, the placement of the predefined style option in the command line is important. If the predefined style option is placed first, the other options may override the predefined style. If placed last, the predefined style will override the other options. For example the style --style=ansi sets the option --brackets=break . If the command line specifies "--style=ansi --brackets=attach", the brackets will be attached and the style will not be ansi style. If the order on the command line is reversed to "--brackets=attach --style=ansi ", the brackets will be broken (ansi style) and the attach option will be ignored. For the options set by each style check the parseOption function in astyle_main.cpp
標簽: options other Predefined setting
上傳時間: 2014-12-21
上傳用戶:zhangliming420
The Bayesian Committee Machine (BCM) is an approximation method for large-scale Gaussian process regression. - The code is for Matlab Version 1.0, November 2005
標簽: approximation large-scale Committee Bayesian
上傳時間: 2015-09-14
上傳用戶:caiiicc
Digital Thermostat with High Accuracy -6,00 to 46,00 °C Digital Thermostat We build a digital thermostat for home applications, which controls the room temperature. I used the AT90S2313 microprocessor of ATMEL. The digital thermostat opens the main heating valve of the apartment and the hot water flows in the radiators. Digital Thermostat Board
標簽: Thermostat Digital Accuracy digital
上傳時間: 2014-01-18
上傳用戶:D&L37
Lab 2 – Synthesizable MATLAB This lab exercise will explore the effects that different MATLAB coding styles have on hardware. The lab has two parts, each of which begins with a short introduction. This lab exercise is based on the simple MATLAB FIR filter model shown below:
標簽: MATLAB Synthesizable different exercise
上傳時間: 2015-09-28
上傳用戶:sammi
AppWizard has created this SEEDDEC2XXX application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application.
標簽: application demonstrates SEEDDEC2XXX AppWizard
上傳時間: 2015-09-29
上傳用戶:zuozuo1215
Basic Compression Library by Marcus Geelnard Release 1.2.0 2006-07-22 Introduction The Basic Compression Library is a library of well known compression algorithms implemented in portable ANSI C code. For more information about the Basic Compression Library, please read the manual (doc/manual.pdf) and, of course, the source code.
標簽: Introduction Compression Geelnard Library
上傳時間: 2015-10-06
上傳用戶:
penMesh is a generic and efficient data structure for representing and manipulating polygonal meshes. OpenMesh is developed at the Computer Graphics Group, RWTH Aachen , as part of the OpenSGPlus project, is funded by the German Ministry for Research and Education ( BMBF), and will serve as geometry kernel upon which the so-called high level primitives (e.g. subdivision surfaces or progressive meshes) of OpenSGPlus are built. It was designed with the following goals in mind : Flexibility : provide a basis for many different algorithms without the need for adaptation. Efficiency : maximize time efficiency while keeping memory usage as low as possible. Ease of use : wrap complex internal structure in an easy-to-use interface.
標簽: manipulating representing and efficient
上傳時間: 2015-10-14
上傳用戶:米卡
Organized in a practical problem-and-solution format, More Exceptional C++ picks up where the widely acclaimed Exceptional C++ leaves off, providing successful strategies for solving real-world problems in C++. Drawing from years of in-the-trenches experience, Herb Sutter provides tested techniques and practical solutions for programmers designing modern software systems with C++, from small projects to enterprise applications.
標簽: problem-and-solution Exceptional Organized practical
上傳時間: 2015-10-20
上傳用戶:chenbhdt