资源列表
PointPair
- 根据分治算法实现求平面上最近点对的复杂度为(nlgn)的算法 有图形界面,能通过鼠标输入点-Under sub-rule algorithm seeking the nearest point on the plane of the complexity of (nlgn) algorithm for graphical interface, through mouse input points
Generic-function
- 泛型函数: 总结:使用标准模板库 (STL) C++标准库提供了更为安全,更为灵活的数据集处理方式。 STL的最主要的两个特点:数据结构和算法的分离,非面向对象本质。 访问对象是通过象指针一样的迭代器实现的;容器是象链表,矢量之类的数据结构,并按模板方式提供; 算法是函数模板,用于操作容器中的数据。由于STL以模板为基础,所以能用于任何数据类型和结构。-Generic function: Summary: Using the Standard Template Library
Hill-sort
- 希尔排序,随机生成500个随机数,并用希尔排序对这500个数进行排序。-Hill sort randomly generated 500 random numbers, and sort Hill sort this 500 number.
test5-2
- 问题描述: 给定n个石子,其重量分别a1,a2,a3...an,要求将其划分成m份,每一份的划分费 义为这份石了中最大重量与最小重量的差的平方。总划分费用等丁m份划分费用之和。 编程任务 对于给定的n个石子,求一种划分方案,使得总划分费用最小。-Descr iption of the problem: Given n-stones, its weight, respectively a1, a2, a3 ... an, asked that it be divided into m
KRUSKAL
- 建立邻接矩阵和邻接表,用克鲁斯卡尔算法求最小生成树-KRUSKAL function
Data-structure-rearrangement
- 实现数据结构中车厢重排问题的完整c++代码;可以完美运行;完整的一个工程,包含debug后的相关文件和生成可执行程序-Data structure inside a complete rearrangement of the problem c++ code works perfect complete a project, including relevant documents and after the debug build executable
Hash-table-and-its-application
- 散列表根据关键码值(Key value)而直接进行访问的数据结构,通过把关键码值映射到表中一个位置来访问记录,以加快查找的速度。-According to the value of the hash table key (Key value) directly access the data structure to access the record by the key values to the mapping table in a position to sp
ZGraph
- 数据结构 无向图 以邻接矩阵的方式存储一个无向网 1.建立并显示出无向网的邻接矩阵; 2.对该无向网进行广度优先遍历,显示遍历的结果(并随时显示队列的入、出情况); 3.用普里姆算法构造其最小生成树,显示其构造的过程。-Data structure- the undirected graph Stored in the form of adjacency matrix an undirected network 1. Establish and shows the ad
Dashu
- 大数算法,能实现大数的四则精确运算。学习算法的好程序。-Big numbers calculate application. for you to calc with very large numbers.
Array
- 链表功能的实现,C语言实现的链表的动态添加、删除和插入。-The sample of array in C.
Store-inventory-management-system
- 针对C语言的数据结构,编写的商店存货管理系统-For the C language data structure, the preparation of the store inventory management system
-p2
- 最长公共子序列(LCS),最长递增子序列(LIS),最长公共递增子序列(LCIS)的实现,根据《算法导论》英文版的伪代码改写成C语言版本,测试完美通过。-The longest common sub-sequence (LCS), the longest increasing subsequence (LIS), the longest sequence of public increments (LCIS) of the realization, according to " Intr