登录
首页 » C# » 以邻接表为存储结构,实现连通无向图的深度优先和广度优先遍历。以用户指定的结点为起点,分别输出每种遍历下的结点访问序列和相应生成树的边集。...

以邻接表为存储结构,实现连通无向图的深度优先和广度优先遍历。以用户指定的结点为起点,分别输出每种遍历下的结点访问序列和相应生成树的边集。...

于 2022-03-16 发布 文件大小:80.81 kB
0 129
下载积分: 2 下载次数: 1

代码说明:

以邻接表为存储结构,实现连通无向图的深度优先和广度优先遍历。以用户指定的结点为起点,分别输出每种遍历下的结点访问序列和相应生成树的边集。-table adjacent to the structure for storage, connectivity to the map without the depth and breadth of priority priority traversal. Users designated as a starting point node, the output of each traverse the nodes visit Spanning Tree sequence and the corresponding set of edges.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MapwingisTest1_MFC_ADD_BY_CHENG
    说明:  //有机会下载安装了mapwingis,试图利用MFC对其二次开发利用,可惜网上能够查到的资料多为C#,VC资料太少。 //经过几天的研究,参考了网上网友的资料,利用VC实现了mapwingis部分功能的开发,为了和我有相同需求的码农们着想, //少走弯路,特开发部分示例代码,以抛砖引玉。 // 禾呈 && 博士 2019-5-30(After several days of research, referring to the information of netizens on the internet, the development of some functions of mapwingis has been realized by VC, for the sake of farmers who have the same needs as me.)
    2019-05-30 12:00:37下载
    积分:1
  • lab
    DDA、Bresenham画直线及画圆、多边形; 边缘填充算法和种子填充算法。(DDA, Bresenham drawing a straight line and circular, polygonal edge of the filling algorithm and seed fill algorithm.)
    2020-06-30 08:20:02下载
    积分:1
  • LRU
    calculate the LRU of cache based on VC
    2010-04-24 17:12:15下载
    积分:1
  • W5300
    w5300初始化代码,可以直接调用,用于nios初始化(W5300 initialization code)
    2020-06-16 08:00:01下载
    积分:1
  • C#工业软件控件
    工业控制用到的仪表,按钮等操作 ,可以方便自动化集成。(Instruments buttons and other operations used in industrial control can facilitate automatic integration)
    2018-11-01 23:06:18下载
    积分:1
  • PQ decomposition method
    说明:  进行PQ分解,计算电力系统潮流的有效方法,应用广泛(PQ decomposition is an effective method for calculating power flow in power system.)
    2019-04-23 21:34:16下载
    积分:1
  • C#操作数据库显示Customers数据表第3-7条记录
    显示Customers数据表第3-7条记录,C#操作数据库显示Customers数据表第3-7条记录,其实做出来例子,才知道,很简单啊,不过需要把数据库先连接好,看如下代码:   private void button1_Click(object sender, EventArgs e)    {//显示Customers数据表第3-7条记录    SqlConnection MyConnection=new SqlConnection();    MyConnection.ConnectionString = @"Data Source =.SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True";    MyConnection.Open();    SqlCommand MyCommand =new SqlCommand("Select * From Customers ORDER BY CustomerID", MyConnection);    DataSet MySet = new DataSet();    SqlDataAdapter MyAdapter = new SqlDataAdapter(MyCommand);    MyAdapter.Fill(MySet, 2, 5, "Customers");    this.dataGridView1.DataSource=MySet.Tables["Customers"];   }
    2022-03-03 23:39:45下载
    积分:1
  • shot
    实现射击小游戏的功能 一般见于手机游戏上(shooting small game to achieve the functions normally found on the cell phone game)
    2005-01-04 20:52:29下载
    积分:1
  • USBHID
    C#上位机实现通过USB的HID方式通信(C# realizes HID communication through USB)
    2020-12-17 16:19:11下载
    积分:1
  • 2353523253
    说明:  一个简单的画图程序,提供基本图元点、线、面,图元填充、裁剪的操作(Simple Draw)
    2009-07-21 17:34:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载