给定1 棵有n 个结点的树T。子树分割问题要求从树T 中删除尽可能少的边得到一个恰有k 个结点的连通分支。
上传时间: 2016-03-14
上传用户:wanghui2438
本程序利用奇异值分解对3通道彩色图像进行压缩分解,具体步骤如下: 压缩过程: 1. 选取子图像大小K值,把图像分解成M×M个子图像,IMG(s),s=1,2,…, M2,其中M=N/K,原始图像IMG大小为N×N。 2. 计算这M2个子图像的平均值average,对每幅子图像减去均值图像得到新图像。 3. 计算相关矩阵R,其元素定义为 。 4. 计算R的特征值与特征向量,计算每幅子图像与最大特征向量的内积,便得到编码,即压缩后的图像。
上传时间: 2013-12-23
上传用户:chenxichenyue
设有一个背包可以放入的物品重量最重为s,现有n件物品,它们的重量分别为w[0]、 w[1]、w[2]、…、w[n-1]。问能否从这n件物品中选择若干件放入此背包中,使得放入的重量之和正好为s。如果存在一种符合上述要求的选择,则称此背包问题有解(或称其解为真);否则称此背包问题无解(或称其解为假)。试用递归方法设计求解背包问题的算法。
标签:
上传时间: 2016-03-15
上传用户:bcjtao
K——聚类算法的C++源码,摘抄的部分,供大家参考
上传时间: 2013-12-23
上传用户:Shaikh
Motoko it s a 2D library to handle the graphical user interface of the game. It supports the basic controls of the windows GUI look like: PictureBox, TextBox, ListBox, LabelBox, ControlListBox, ComboBox, Button, CheckButton, Dialog, Panel, HScrollBar and VScrollBar. It uses the library CRM32Pro, so the CRM32Pro devkit will be needed to develop any application with Motoko, and it s contained in the Motoko devkit. The Motoko library is under the LGPL license, so read first the license if you want to make any change to the library.
标签: the graphical interface supports
上传时间: 2013-12-20
上传用户:yoleeson
若干种r/s估值法源代码,试试看很好用,有没有朋友有其他估值法下的源代码?麻烦上传分享一下,
标签: 源代码
上传时间: 2016-03-16
上传用户:hxy200501
DataDraw is an ultra-fast persistent database for high performance programs written in C. It s so fast that many programs keep all their data in a DataDraw database, even whi le being manipulated in inner loop s of compute intensive appl ications.
标签: C. performance ultra-fast persistent
上传时间: 2013-12-19
上传用户:xhz1993
clearly explains concepts such as introspection, overriding built-ins, extending Perl s object-oriented model, and testing your code for greater stability.
标签: introspection object-orien overriding built-ins
上传时间: 2013-12-17
上传用户:aeiouetla
图形界面程序Qt安装及其在S3C2410-s上的移植详细步骤
上传时间: 2016-03-17
上传用户:colinal
CHEN s系统Poincare截面源码,Fortran编辑
上传时间: 2013-12-07
上传用户:zhouchang199