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
使用工具为.net2003,涉及的语言包括c#、vb.net、托管c++,集C/S和B/S模式于一体,最主要一点是文档相当齐全。
上传时间: 2015-09-04
上传用户:busterman
在线考试系统,B/S结构可以使用此框架开发类似的考试系统
标签:
上传时间: 2015-09-09
上传用户:270189020
EasyJF开源Blog系统是一个由EasyJF开源团队组织开发的基于Java平台的开源博客系统。当前Blog已经实现了基本的基本的博客的书写、流量统计、排名、个人像册、RSS、支持自定义模板、静态html文件生成、权限系统、积分系统等功能。另外还将加入博客圈、音乐、专题等功能及更强大的权限系统支持。系统使用基于OO的方法设计,采用多层B/S构架,数据库持久层使用EasyDBO,Web层使用EasyJWeb框架,java代码与页面完全分离,易扩展。
上传时间: 2014-11-29
上传用户:拔丝土豆
用verilog设计密勒解码器 一、题目: 设计一个密勒解码器电路 二、输入信号: 1. DIN:输入数据 2. CLK:频率为2MHz的方波,占空比为50% 3. RESET:复位信号,低有效 三、输入信号说明: 输入数据为串行改进密勒码,每个码元持续时间为8μs,即16个CLK时钟;数据流是由A、B、C三种信号组成; A:前8个时钟保持“1”,接着5个时钟变为“0”,最后3个时钟为“1”。 B:在整个码元持续时间内都没有出现“0”,即连续16个时钟保持“1”。 C:前5个时钟保持“0”,后面11个时钟保持“1”。 改进密勒码编码规则如下: 如果码元为逻辑“1”,用A信号表示。 如果码元为逻辑“0”,用B信号表示,但以下两种特例除外:如果出现两个以上连“0”,则从第二个“0”起用C信号表示;如果在“通信起始位”之后第一位就是“0”,则用C信号表示,以下类推; “通信起始位”,用C信号表示; “通信结束位”,用“0”及紧随其后的B信号表示。 “无数据”,用连续的B信号表示。
上传时间: 2013-12-02
上传用户:wang0123456789
本文就采用面对对象的方法以UML为建模语言,使用PowerDesigner这个case工具分析设计一个分布式的B/S结构的基于COM+和XML的网络考试系统。并使用Delphi、VBScript、ADO、XML、HTML等编程工具、语言和技术实现了这个系统。
上传时间: 2015-09-25
上传用户:sy_jiadeyi
This article describes Atmel’s FingerChip technology for electronic fingerprint sensing that combines the advantages of small size, low cost, high accuracy, zero maintenance, low energy consumption and portability. This technology has applications in a wide range of fixed and portable secured devices including access control systems, cash terminals, public transport, PCs, PDAs, Smart Card readers and motor vehicles. It can be used in almost any situation where rapid, reliable and accurate identification or authentication of an individual is required.
标签: fingerprint FingerChip technology electronic
上传时间: 2013-12-27
上传用户:h886166
将eCos应用到UPS(不间断电源)远程监控管理系统中,设计了以ARM (S3C4510B)为核心的软硬件平台 详细分析了。Cos嵌入式Web服务器及应 用软件设计流程与方法,形成了B/S结构的UPS监控系统,替代了传统的基于 C/S结构的监控系统,更方便的实现对UPS的智能监控与管理。 此文档需要用CAJVIEWER打开。
上传时间: 2014-10-10
上传用户:498732662
SCSI-2也称为Fast-SCSI,传输速率为10MB/s。 后采用扩展总线宽度来增加数据流量的方式,提高整 体传输速率,于是SCSI-2规定了16位、32位数据总 线,使传输速率进一步提高为20MB/S,也就是Wide -SCSI,或是称作Fast SCSI-2。 Wide-SCSI采用4 位定址,使可连接的设备达到了15个。在接口电缆上, 为兼容SCSI-l所使用的A电缆,SCSI-2标准在A 电缆的基础上增加一条68pin的扁平电缆,称为B电 缆。目前还有不少SCSI的CD-ROM、CD-R、CD- RW还是使用SCSI-2界面。
上传时间: 2014-12-03
上传用户:change0329
采用MySQL作为后台数据库,采用标准MVC三层架构。此系统是有实际论文管理需求的学校进行论文管理的系统,使学校等机构在自己的局域网上搭建的B/S结构办公平台,用户打开浏览器既可方便快捷的时候用该系统。
上传时间: 2014-01-08
上传用户:dsgkjgkjg