搜索资源列表
tu
- [输入] 图的顶点个数N,图中顶点之间的关系及起点A和终点B [输出] 若A到B无路径,则输出“There is no path” 否则输出A到B路径上个顶点 [存储结构] 图采用邻接矩阵的方式存储。 [算法的基本思想] 采用广度优先搜索的方法,从顶点A开始,依次访问与A邻接的顶点VA1,VA2,...,VAK, 访问遍之后,若没有访问B,则继续访问与VA1邻接的顶点VA11,VA12,...,VA1M,再访问与VA2邻接顶点...,如此下去,直至找到B,最先到达
QueueTest
- VC++ 封装了队列类 /// /// /// ///// //this a example for using Queue ///////////////////////////////////////// #include \"Queue.h\" //define queue data struct struct QueueData { char data[20] int nId } //define queue typedef TQueue<QueueData> TMyQu
structure
- 里面涉及了数据结构中的链表、队列和栈的一些知识和算法,希望对朋友们有所帮助。-Involved in the data structure inside the linked list, queue and stack some of the knowledge and algorithms, and they hope to help my friends.
Data
- C# 相关数据结构, 包括队列、列表、树、栈、图、基本排序算法等-C# Data Struct , Queue List Queue Tree Sort
samlple
- 简单路径,#include "stdafx.h" #include <iostream> #include <fstream> #include <queue> #include <stack> using namespace std struct ArcNode { int adjvex ArcNode *nextarc } typedef char VertexType
Algorithms.in.C.Parts.1-4.Fundamentals.Data.Struct
- 经典算法书(中文版).《C算法》介绍了当今最重要的算法,共分3卷,本书是第1卷。第1卷分4部分、共16章。第一部分“基础知识”(第1~2章)介绍了基本算法分析原理。第二部分“数据结构”(第3~5章)讲解算法分析中必须掌握的数据结构知识。主要包括基本数据结构、抽象数据结构、递归和树。第三部分“排序”(第6~11章)按章节顺序分别讨论了基本排序方法(如选择排序、插入排序、冒泡排序、希尔排序等)、快速排序方法,归并和归并排序方法、优先队列与堆排序方法、基数排序方法以及特殊目的排序方法,并比较了各种排序
queueDemo
- 数据结构C语言版栈和队列的应用编程示例demo-data struct queue
queue_using_linkedlist
- implementation of queue using linked list. it uses own queue.h header file.
as
- 编写C语言程序,模拟UNIX磁盘空间管理中使用的分组链接法。 1.定义一个记录磁盘块号的堆栈S—free[10],以及记录栈中现有磁盘块数的变量S—nfree。 2.定义一个由40个元素构成的结构数组block[40]用作磁盘块存放。 struct size { int blocl[10] } struct blocd { struct size a[10] //用于在空闲磁盘块号链中存放磁盘块号 }block[40] 3. 假设系统中文件的最大
shijianpianlunzhuansuanfa
- 操作系统 时间片轮转算法 struct PCBNode { int processID //进程ID STATUS status //进程状态 int priorityNum //优先数 int reqTime //总的需要运行时间 int remainTime //剩下需要运行时间 int arriveTime //进入就绪队列时间 int startTime //开始运行时间 int finishTime //结束运行
erchashu
- 数据结构 二叉树的基本操作实现 遍历文件夹并建成目录树,一个较好的遍历程序,对系统所有的文件获取做了比较详细的说明。程序在2000下通过。-Bi tree typedef struct bitree char data struct bitree*left,*right basic use of tree create init queue push queue empyt. hope you like it.
queue
- queue struct Learning to use the example of data structure Create, add, remove pointer ,malloc ,free for windows xp dev c.
myATM
- 1.启动服务器时创建两个消息队列,关闭时进行删除。用信号关闭,在信号的处理函数中删除消息队列。 2.服务端根据客户端发过来的数据,判断是何种请求,再根据各种请求做出相应的处理。 3.分析开户的流程:客户端输入用户名,密码和金额,把数据封存在msg中,通过消息队列发给服务器,在服务器端生成一个帐号,然后把account信息写入文件,并把处理结果通过消息队列返回给客户端。 4.服务器端用多进程完成各种功能。(vfork+execl) 通过跳转到另一个可执行程序,来实现各种业务功能。
PriorityQueue.tar
- Priority Queue Data Struct
dfs_pri_detector
- struct pulse_elem - elements in pulse queue.
queue
- some code to create queue data struct in C