-
我上课用的计算机算法设计与分析的电子教案,内容包括了最基本的分治法,贪心法,动态规划法,...
我上课用的计算机算法设计与分析的电子教案,内容包括了最基本的分治法,贪心法,动态规划法,-I class computer algorithms used in design and analysis of electronic lesson plans, including the most basic sub-rule law, greedy method, dynamic programming method,
- 2022-06-12 19:43:12下载
- 积分:1
-
C language source code commonly used algorithm, a very handy very handy!
C语言常用算法源代码,非常好用非常好用-C language source code commonly used algorithm, a very handy very handy!
- 2022-06-27 23:10:39下载
- 积分:1
-
约瑟夫环实现
约瑟夫环实现
- 2022-02-07 00:49:01下载
- 积分:1
-
哈夫曼树算法
根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj
在森林中选取两棵根结点权值最小的树作左右子树,构造...
哈夫曼树算法
根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj
在森林中选取两棵根结点权值最小的树作左右子树,构造一棵新的二叉树,置新二叉树根结点权值为其左右子树根结点权值之和
在森林中删除这两棵树,同时将新得到的二叉树加入森林中
重复上述两步,直到只含一棵树为止,这棵树即哈夫曼树
-Huffman tree algorithm based on a given n-weights (w1, w2, ... ... wn), construct n trees only a root node of the tree, so that from the right value of wj in the forest root node to select two the right tree for the value of the smallest subtree around, a new binary tree structure, the right to buy a new tree root node value of its subtree root node around the right value in the forest and delete these two trees, At the same time, the new binary tree obtained by adding the forest to repeat the above two steps until a tree containing only the date, that is, Huffman tree tree
- 2023-05-05 13:05:03下载
- 积分:1
-
Delphi中实现把数据集中的数据导出为word
详细是描述了如何将一个数据集导出为Word文档,整个示例是个完整的程序,有相关的函数和调用说明,每个函数都有相关的注释,对于没有接触过此类开发的程序员应该说非常有用。非常欢迎大家下载。
- 2022-07-10 22:49:12下载
- 积分:1
-
Its about the data structure Q
Its about the data structure Q-Its about the data structure Queue...
- 2022-06-19 15:03:41下载
- 积分:1
-
我编的学分管理程序,应用程序 原代码都有!VB入门的好东西
我编的学分管理程序,应用程序 原代码都有!VB入门的好东西
- 2022-03-03 13:05:05下载
- 积分:1
-
Oracle BerkeleyDB
Oracle BerkeleyDB--SQLitehttp--www_sqlite_com_cn-_files2.rar//bdb2
- 2022-04-30 08:41:25下载
- 积分:1
-
该程序可以模拟停车场的管理过程。为各位管理停车场的管理员提供方便。...
该程序可以模拟停车场的管理过程。为各位管理停车场的管理员提供方便。-The program can simulate the parking lot of the management process. Management of car parks for you to facilitate the administrator.
- 2023-08-31 07:10:02下载
- 积分:1
-
编程求两个一元多项式的乘积。
输入
输入数据为两行,分别表示两个一元多项式。每个一元多项式以指数递增的顺序输入多项式各项的系数(整数)、指数(...
编程求两个一元多项式的乘积。
输入
输入数据为两行,分别表示两个一元多项式。每个一元多项式以指数递增的顺序输入多项式各项的系数(整数)、指数(整数)。
例如:1+2x+x2表示为:,,,
输出
以指数递增的顺序输出乘积: ,,,
零多项式的输出格式为:,-Programming seeking the product of two one-polynomial. Enter the input data for the two lines represent two unary polynomial. One dollar for each polynomial order of the exponential increase of the input polynomial coefficients (integer), index (integer). For example: 1+2 x+ x2 expressed as: " 1,0" , " 2,1" , " 1,2" , the output of the order of the exponential increase output of the product: " coefficient, index" , " coefficient, index" , " coefficient, the index " , zero polynomial output format is:" 0,0 " ,
- 2023-04-13 09:30:03下载
- 积分:1