搜索资源列表
linktostack
- 用链表实现栈的操作.该程序有栈的进栈和出栈操作.很简单.这是本人第一次上传程序源代码,如有什么不足之处还望各位多多海涵.-used to achieve stack operation. The program is the stack into the stack and stack up operation. Very simple. This is the first time I uploaded the source code, if there are any deficiencie
0801
- 功能:构造图,并进行图的深度优先遍历(邻接表存储结构),图的广度优先遍历,内附详尽的源代码说明-function : tectonic map, and map depth-first traversal of the (storage structure adjacent table), the breadth of the plan priority traversal, enclosing a detailed note of the source code
c01
- 数据结构,算法与应用 --C++语言描述 第一章源代码-data structures, algorithms and applications -- Descr iption C language source code for the first chapter. .
TJU1103
- 同济大学ACM题库TJU1103的题解代码.深度优先搜索的一个好例子.-TJU1103 Tongji University ACM questions in the code that solution. Depth-first search of a good example.
数据结构算法解析
- 配合严蔚敏的数据结构的辅导书,内有书中程序的代码实现——高一凡所著的数据结构算法解析的第一章绪论。,YAN Wei-Min with the data structure of the counseling book, there are procedures code book- written by high and one where the data structure algorithm to resolve the first chapter of the Introduction.
huofuman
- 霍夫曼编码的基本方法是先对图像数据扫描一遍,计算出各种像素出现的概率,按概率的大小指定不同长度的唯一码字,由此得到一张该图像的霍夫曼码表。编码后的图像数据记录的是每个像素的码字,而码字与实际像素值的对应关系记录在码表中。-Huffman coding method is first scanned image data again, to calculate the probability of a variety of pixel specify a different length uniq
WeekNo
- 一个计算当前周是一年第多少周的源代码WeekNo-A calculation of the current week is the first year the number of weeks of the source code WeekNo
jiandanxuanze
- 基本思想: 设所排序序列的记录个数为n。i取1,2,…,n-1,从所有n-i+1个记录(R,R[i+1],…,R[n]中找出排序码最小的记录,与第i个记录交换。执行n-1趟 后就完成了记录序列的排序。 -The basic idea: set up the sort of record sequence number for n. i get 1,2, ..., n-1, from all n-i+ 1 record (R, R [i+ 1], ..., R [n] in orde
BinaryTreeData
- 用c语言实现了二叉树的数据定义,二叉树的构建、销毁,以及先序、中序、后序的递归算法及其源代码.-Implementation using c language definition of binary tree data, Binary Tree Construction, Destruction, and the first order, in sequence, after the sequence of the recursive algorithm and source code.
Search
- 文档包含两个程序,第一个实现了希尔排序、快速排序、堆排序、折半查找。第二个实现了二叉树查找。均包含源码和一组测试结果。-Document contains two procedures, the first implementation of the Hill sort, quick sort, heap sort, binary search. The second implementation of the binary tree search. Contains the source co
tu
- 图的深度优先遍历,数据结构实验,源码可运行-Map depth-first traversal, the structure of the experimental data, source code can be run
dijkstra
- 银行家算法 1. 实验目的: 用高级语言编写和调试一个利用银行家算法避免死锁的程序,以加深对分配资源时如何避免死锁的理解。 2. 实验内容: 编写一个模拟程序,完成避免死锁的模拟,要求采用dijkstra的银行家算法。 实验具体包括:首先确定可利用资源向量的数据结构、最大需求矩阵,分配矩阵,需求矩阵,然后完成银行家算法、安全性算法等程序代码 最后编写模拟过程的主函数,上机实验并取得结果数据。 -Banker' s Algorithm 1. Experimental
Depth-First-Traverse
- 此代码为“图的深度优先遍历”的源代码,图的存储形式为邻接矩阵,里面有图的邻接矩阵存储的代码,有深度优先遍历的算法,还有验证的主函数。-This code for the " depth-first traversal map" of the source code, Figure storage form of adjacency matrix, there are plans stored in the adjacency matrix code, a deep traver
Broad-First-Search(AdjLGraph)
- 此代码为“图的广度优先遍历”的源代码,图的存储形式为邻接表,里面有图的邻接表存储的代码,还有广度优先遍历的算法,还有验证的主函数。-This code is " breadth-first traversal map" of the source code, Figure storage form of adjacency list, there are plans stored in the adjacent table code, as well as breadth-fi
oulalujingbianli
- 通过欧拉路径计算非叶子节点的后代数目,并且先序遍历输出构造的二叉树-Eulerian path through the calculation of non-leaf node the number of generations, and output first traversal of the binary tree structure
code
- 《C++轻松入门》是一本为程序设计初学者轻松地学习C++编程语言而编写的图书。《C++轻松入门》从初学者认知的角度出发,由浅入深、循序渐进地讲解了C++编程语言中的各种编程技术,通过通俗易懂的讲解和丰富生动的典型示例,使读者能够轻松地学到C++编程知识。全书共分为3篇,第1篇主要介绍 C++中的常用数据类型、基本语句、函数调用和指针等内容。第2篇主要介绍C++面向对象的程序设计,包括类和对象、继承和派生、多态性和虚函数等内容。第3篇主要介绍数据结构中链表的C++实现和C++中模板的应用。附件为本
deep-first-searching
- 深度优先搜索实现的二叉树深度测量,源码在vc6.0下编译通过,运行稳定。-DFS searching to measure the depth of the binary tree.and the code is compilled successfully in VC6.0.
swap-first-last-node
- swap first last node code
Data-Struct-source-code(Ch-1)
- C语言通用范例开发金典源码(第一章)--数据结构-The common C language paradigm for developing Golden source code (the first chapter)- data structure
new-DV-Hop-code
- 改进DV-Hop定位算法 首先设置初始量,布置了一个范围为100×100m2的区域,其上随机分布100个传感器节点,其中有10个信标节点,节点的通信半径为30m。 第二步在正方形区域内产生均匀分布的随机拓扑,随机产生节点坐标并将其中十个选定为信标节点,其余九十个设为未知节点,然后画出节点分布图。 第三步通过最短路径法计算未知节点与每个信标节点的最小跳数。 第四步根据前面记录的其他信标节点的位置信息和相距跳数估算平均每跳的实际距离,用跳数估计距离的方法得出未知节点到信标节点的距离。 第五