C++有向图的深度优先和广度优先遍历等13项基础操作(代码共700行,可运行无错误).rar

上传者: Zxl2356 | 上传时间: 2021-07-12 19:05:03 | 文件大小: 12.09MB | 文件类型: RAR
【问题描述】 很多涉及图上操作的算法都是以图的遍历操作为基础的。试写一个程序,演示在连通的有向图上访问全部结点的操作。 【基本要求】 以邻接表为存储结构,实现创建图、销毁图、查找顶点、获取顶点值、顶点赋值、获得第一邻接点、获得下一邻接点、插入顶点、删除顶点、插入弧、删除弧、深度优先搜索遍历、广深度优先搜索遍历等操作 注: 1.系统设计 2.系统主界面演示系统设计:包含欢迎菜单为新建表、打开文件、退出程序 3.操作界面设计:创建图、销毁图、查找顶点、获取顶点值、顶点赋值、获得第一邻接点、获得下一邻接点、插入顶点、删除顶点、插入弧、删除弧、深度优先搜索遍历、广深度优先搜索遍历等13个 3.代码中有三个头文件,1个主函数;共700行代码,是一个完整的系统设计 4.代码进行了多次调试与运行,绝对可以编译并执行。 5.软件用VS2019打开

文件下载

资源详情

[{"title":"( 29 个子文件 12.09MB ) C++有向图的深度优先和广度优先遍历等13项基础操作(代码共700行,可运行无错误).rar","children":[{"title":"B11","children":[{"title":"main2","children":[{"title":".vs","children":[{"title":"main2","children":[{"title":"v16","children":[{"title":"Browse.VC.db <span style='color:#111;'> 6.10MB </span>","children":null,"spread":false},{"title":".suo <span style='color:#111;'> 43.00KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"AutoPCH","children":[{"title":"2e927e136cfff38c","children":[{"title":"MAIN2.ipch <span style='color:#111;'> 33.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"55ae1516bd01d9b1","children":null,"spread":false},{"title":"2e207a090debd670","children":null,"spread":false},{"title":"a3169acb20db4718","children":null,"spread":false},{"title":"65752b9e52ad5b32","children":null,"spread":false},{"title":"34b4760389558226","children":[{"title":"MAIN2.ipch <span style='color:#111;'> 33.63MB </span>","children":null,"spread":false}],"spread":false},{"title":"566129b03324ebd3","children":null,"spread":false},{"title":"39cdbfd967b350cb","children":null,"spread":false},{"title":"36acc09a6bdeca66","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main2.vcxproj <span style='color:#111;'> 7.16KB </span>","children":null,"spread":false},{"title":"main2.vcxproj.user <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"Header.h <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"function.h <span style='color:#111;'> 12.55KB </span>","children":null,"spread":false},{"title":"main2.sln <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"menu.h <span style='color:#111;'> 11.57KB </span>","children":null,"spread":false},{"title":"main2.cpp <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"main2.log <span style='color:#111;'> 7.53KB </span>","children":null,"spread":false},{"title":"main2.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 902B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 37.47KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"main2.lastbuildstate <span style='color:#111;'> 189B </span>","children":null,"spread":false}],"spread":true},{"title":"main2.exe.recipe <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 436.00KB </span>","children":null,"spread":false},{"title":"main2.obj <span style='color:#111;'> 98.60KB </span>","children":null,"spread":false},{"title":"main2.vcxproj.FileListAbsolute.txt <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"main2.exe <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"vc142.idb <span style='color:#111;'> 283.00KB </span>","children":null,"spread":false},{"title":"main2.obj.enc <span style='color:#111;'> 98.54KB </span>","children":null,"spread":false},{"title":"main2.ilk <span style='color:#111;'> 443.05KB </span>","children":null,"spread":false},{"title":"main2.pdb <span style='color:#111;'> 1.32MB </span>","children":null,"spread":false}],"spread":false},{"title":"main2.vcxproj.filters <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • jifenghello :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-09-18

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明