登录
首页 » 数据结构 » 普里姆算法求最小生成树(邻接表存储),用c++描写的,数据结构中的...

普里姆算法求最小生成树(邻接表存储),用c++描写的,数据结构中的...

于 2022-02-06 发布 文件大小:269.94 kB
0 249
下载积分: 2 下载次数: 1

代码说明:

普里姆算法求最小生成树(邻接表存储),用c++描写的,数据结构中的-Prim algorithm for minimum spanning tree (adjacent table storage), with c++ description, data structure

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

发表评论

0 个回复

  • 用c语言设计实现一个用事件驱动的“救护车调度”离散模型,模拟120急救中心响应每个病人的呼救信号统一调度救护车运行的情况。 我们对问题作适当简化,假设:某城市共...
    用c语言设计实现一个用事件驱动的“救护车调度”离散模型,模拟120急救中心响应每个病人的呼救信号统一调度救护车运行的情况。 我们对问题作适当简化,假设:某城市共有m个可能的呼救点(居民小区、工厂、学校、公司、机关、单位等),分布着n所医院(包含在m个点中),有k辆救护车分派在各医院待命,出现呼救病人时,由急救中心统一指派救护车接送至最近的医院救治。救护车完成一次接送任务后即消毒,并回原处继续待命。假定呼救者与急救中心、急救中心与救护车之间的通讯畅通无阻,也不考虑道路交通堵塞的影响。可以用m个顶点的无向网来表示该城市的各地点和道路。时间可以分钟为单位,路段长可表示为救护车行驶化费的分钟数。 这里设m=10,n=3,k=2。并且令消毒时间为2分钟-language used to achieve a design using event-driven "ambulance dispatch" dispersion model to simulate 120 emergency response center each patient"s distress signal unified dispatching ambulances running. We issue the appropriate simplified assumptions : m in a certain city a total of 000 points possible hue (residential quarters, factories, schools, companies, organizations, units, etc.), distributed by the hospital n (m included in the points), k ambulances were deployed in the various hospitals on standby there cries of the patients, from the first-aid center unified ambulance escort assigned to the nearest hospital for treatment. Ambulance completed
    2023-03-26 11:35:03下载
    积分:1
  • 动态规划的石子问题算法下载压缩包后,解压,使用vc
    动态规划的石子问题算法下载压缩包后,解压,使用vc-stones dynamic programming problem packet compression algorithm download, extract, use vc
    2022-07-18 16:07:24下载
    积分:1
  • 2022-05-10 13:15:46下载
    积分:1
  • 重写了微软提供SQLHelper(共用的库调用接口) 1把SqlHelper的connectionString做成一个全局量,统一设置库连接字符串 2增...
    重写了微软提供SQLHelper(共用的数据库调用接口) 1把SqlHelper的connectionString做成一个全局量,统一设置数据库连接字符串 2增加了返回特定表名的DataSet的各接口。 可在项目的config文件设置数据库连接字符串 private static string connectionString = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"] 当然可以把数据库连接方法修改后直接用。-rewritten Microsoft SQLHelper (shared database Call Interface) a SqlHelper the connectionString caused an overall volume, uniform database connections increased by two strings to the specific name of the table in the DataSet interface. In the config files set database connection string private static string connectionString = System.Configuration.ConfigurationSettings.AppSettings [ "ConnectionString"] lt; !-- Application specific settings-- gt; Lt; AppSettingsgt; Lt; Add key
    2022-06-02 10:24:49下载
    积分:1
  • float型而二叉树的创建及遍历
    #include #include struct BiTNode           //定义二叉树结构体 {   float data;   struct BiTNode *lchild;   struct BiTNode *rchild; }; //二叉树创建函数 struct BiTNode *CreateTree(float *preorder,float *inorder,int lenth) {     float *p,*q;      
    2022-12-24 11:10:03下载
    积分:1
  • 访问的COM组件,主要在VC中使用
    访问数据的COM组件,主要在VC中使用-visit data COM, mainly in the use of VC
    2022-05-08 01:40:25下载
    积分:1
  • 我的生活,一个不错的日记本,相信你回喜欢的!
    我的生活,一个不错的日记本,相信你回喜欢的!-my life, a good diary of this, I think you like the back!
    2022-05-29 10:58:26下载
    积分:1
  • 循环链表
    声明结构 体,该结构体包含一个值,和一个指向下一个结点的指针next,初始化时头结点指针指向自身,每增加一个节点,使加入的结点的next指针指向头结点,使t头结点的next指针指向插入结点。 源代码 在vs2012 运行通过,界面使用菜单进行操作选择,友好方便,值得参考
    2022-06-11 17:01:47下载
    积分:1
  • serversock
    /**************************************************************************************  * Dragonfly - RTMP Server by ActionScript  *   * Author: SnowMan  * Author QQ: 228529978  * BLOG: http://rtmp.net or http://rtmp.us.to  * Copyright(c) AS-RTMP-Server(Dragonfly) 2012  * SourceCode URL: http://code.google.com/p/as-rtmp-server  *  *  * Licence Agreement  *
    2022-03-24 18:29:14下载
    积分:1
  • 库内容到字符串,可用于显示
    取数据库内容到字符串,可用于显示-from database content to string can be used to show!
    2022-07-22 07:57:37下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载