CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 数据结构常用算法

文件名称:612109301

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-10-30
  • 文件大小:
    384.71kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

要求采用邻接矩阵作为无向图的存储结构,邻接表作为有向图的存储结构,完成无向图和有向图的建立,并对建立好的图进行深度和广度优先遍历。具体实现要求:

1.  通过键盘输入图的顶点和边信息,分别构造一个无向图的邻接矩阵和一个有向图的邻接表。

2.  分别对建立好的两个图进行深度和广度优先遍历,输出相应的遍历序列。

3.  统计两个图的连通分量的个数。

-Require the use of adjacency matrix as the storage structure of an undirected graph, adjacency table as the storage structure of directed graphs, complete undirected graph and the establishment of the graph, and create good depth and breadth-first graph traversal. Specific implementation requirements: 1. Through the keyboard input graph vertices and edges information, construct an undirected graph, respectively, the adjacency matrix and adjacency to a table. 2. Are two graphs on the establishment of good depth and breadth-first traversal, the output corresponding traversal sequence. 3. Statistics of two graphs the number of connected components.
相关搜索: 连通分量

(系统自动生成,下载前可以参看下载内容)

下载文件列表

612109301 赵慧/prog2/adj_list_dir_graph.h
612109301 赵慧/prog2/adj_list_graph_vex_node.h
612109301 赵慧/prog2/adj_matrix_undir_graph.h
612109301 赵慧/prog2/Debug/main.obj
612109301 赵慧/prog2/Debug/prog2.exe
612109301 赵慧/prog2/Debug/prog2.ilk
612109301 赵慧/prog2/Debug/prog2.pch
612109301 赵慧/prog2/Debug/prog2.pdb
612109301 赵慧/prog2/Debug/vc60.idb
612109301 赵慧/prog2/Debug/vc60.pdb
612109301 赵慧/prog2/lk_list.h
612109301 赵慧/prog2/main.cpp
612109301 赵慧/prog2/node.h
612109301 赵慧/prog2/prog2.dsp
612109301 赵慧/prog2/prog2.dsw
612109301 赵慧/prog2/prog2.ncb
612109301 赵慧/prog2/prog2.opt
612109301 赵慧/prog2/prog2.plg
612109301 赵慧/prog2/utility.h
612109301 赵慧/prog2/Debug
612109301 赵慧/prog2
612109301 赵慧

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com