资源列表
jicha
- 给定n个正整数数列,进行如下操作:每次删去两个数 a和b,添加1个数 a*b+1,直到只剩1个数N。在所有的这样的N中,有1个最大Max的和最小的Min,M=Max-Min是极差。设计程序计算 M -Given n positive integers, proceed as follows: each time deleting two numbers a and b, add a number of a* b+1 until only a number of N. All this N,
beibao
- 给定一个容量为C的背包及n个重量为 wi,价值为pi的物品,要求把物品装入背 包,使背包的价值最大,此类问题为背 包问题。物品或者装入背包,或者不装 入背包,称之为0/1背包问题。 -A given a capacity for the the C of the backpack, and n a of by weight for the wi, the value of for the the the items of of pi, requirements of the
astar
- A*算法 1、将开始节点放入开放列表(开始节点的F和G值都视为0) 2、重复以下步骤: 在开放列表中查找具有最小F值的节点,并把查找到的节点作为当前节点 把当前节点从开放列表删除, 加入到封闭列表. -A* algorithm 1, will begin to node placed in the and opening up list of (the began to node of the F and G values are regarde
dstring
- 动态规划——编辑距离问题 设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。-Dynamic Programming- edit distance problem Let A and B are two strings. Characters use the least action string A converted to a string B.
BruteForceClosePoints
- 蛮力法解决最近对问题, 随机生成5个点,然后求出距离最近的一对-The brute force method to solve the problem, randomly generated five points, then find the distance of a pair of
the-average-path-length
- 问题描述:平均路径长度是网络中另一个重要的特征度量,他是网络中所有节点对之间的平均最短距离。这里节点间的距离指的是从一个节点要经历的边的最小数目,其中所有节点之间的最大距离称为网络的直径。平均路径长度和直径衡量的是网络的传输性能与效率。平均路径长度的公式为 ,其中dij表示点i和j之间的最短距离(若dij不存在时,dij就不能加入,且分母要相应减1) 要求:输入邻接矩阵表示的图,计算其平均路径长度-Descr iption of the problem: the averag
huffman
- 对手工输入字符串 手工输入字符及权重两种方式 实现哈夫曼编码 附有详细的实验报告-Two ways to achieve Huffman coding manual input the string manually input character and the right to re-
point-to-fenshu
- 小数变分数问题 求解 这是一个数据结构的课程设计-point change to fractional number
simclist-1.6
- SimCList 是一个用来处理列表(List)的的高效C库。内置很多基于列表的算法,例如排序、查找、随机处理等等。-SimCList is a high quality C (C++ embeddable) library for handling lists. It exploits several advanced techniques for improving performance, including freelists, sentinels, automatic sort alg
teacher
- 保守的老师源代码 算法课程习题 原创代码 仅供参考-The conservative teacher source code algorithms course exercises original code for reference only.
big
- 最大正向匹配的实现 自然语言课程习题 原创代码 仅供参考-Maximum positive match the natural language courses Exercises original code for reference only.
numin
- Convertion Number format to other system
