三: 针对带表头结点的单链表,试编写下列函数。 (1) 定位函数Locate:在单链表中寻找第i个结点。若找到,则函数返回第i个结点的地址;若找不到,则函数返回NULL。 (2) 求最大值函数max:通过一趟遍历在单链表中确定值最大的结点。 (3) 统计函数number:统计单链表中具有给定值x的所有元素。 (4) 建立函数create:根据一维数组a[n]建立一个单链表,使单链表中各元素的次序与a[n]中各元素的次序相同,要求该程序的时间复杂性为O(n)。 (5) 整理函数tidyup:在非递减有序的单链表中删除值相同的多余结点。
上传时间: 2017-07-20
上传用户:CSUSheep
I used MFC. that code is not perfect and have some problem. But its function is Ok. You just fix and use array of display buffer. That is about How to play RAW graphic file. rotate, mirr, plus, divide ... etc
标签: function perfect problem used
上传时间: 2017-07-30
上传用户:皇族传媒
Windows Mobile平台上使用GDI+。GDI+功能很强大,可惜在Windows Mobile平台上不能直接用,本例程封装了一套GDI+接口,可以很方便的在Windows Mobile平台上调用。关键字:GDI Plus, PocketPC,VC++
上传时间: 2017-07-31
上传用户:yyq123456789
文中介绍了QPSK调制解调的原理,并基于FPGA实现了QPSK调制解调电路。MAX+PLUSII环境下的仿真结果表明了该设计的正确性。
上传时间: 2017-08-08
上传用户:hoperingcong
使用VHDL语言编写的简易数字存储示波器,用MAX+PlusII仿真验证。VHDL编写了采样、存储写、存储读和显示4个模块。采样使用ADC0809,存储器使用6264,显示使用DAC0832。
上传时间: 2014-12-22
上传用户:李梦晗
实现简单CPU功能的源码,可以实现加减乘除和移位功能,VHDL代码,程序运行在MAX PULS和Quartua上。
上传时间: 2017-08-17
上传用户:wab1981
赋权有向图中心问题 问题描述: 设G=(V,E)是一个赋权有向图,v是G的一个顶点, v的偏心距定义为: Max {w∈ V,从w到v的最短路径长度} G中偏心距最小的顶点称为G的中心。试利用Floyd 算法设计一个求赋权有向图中心的算法。
标签:
上传时间: 2017-08-17
上传用户:klin3139
一个用VHDL编写的秒表程序,可用Max+PlusII仿真
上传时间: 2017-09-07
上传用户:xiaoxiang
使用Altera的MAX+PlusII设计了一个补码运算器,文档里包含了详细的设计原理及完整电路
标签: MAX+PlusII 补码运算
上传时间: 2015-02-26
上传用户:赫尔辛根
The object detector described below has been initially proposed by P.F. Felzenszwalb in [Felzenszwalb2010]. It is based on a Dalal-Triggs detector that uses a single filter on histogram of oriented gradients (HOG) features to represent an object category. This detector uses a sliding window approach, where a filter is applied at all positions and scales of an image. The first innovation is enriching the Dalal-Triggs model using a star-structured part-based model defined by a “root” filter (analogous to the Dalal-Triggs filter) plus a set of parts filters and associated deformation models. The score of one of star models at a particular position and scale within an image is the score of the root filter at the given location plus the sum over parts of the maximum, over placements of that part, of the part filter score on its location minus a deformation cost easuring the deviation of the part from its ideal location relative to the root. Both root and part filter scores are defined by the dot product between a filter (a set of weights) and a subwindow of a feature pyramid computed from the input image. Another improvement is a representation of the class of models by a mixture of star models. The score of a mixture model at a particular position and scale is the maximum over components, of the score of that component model at the given location.
标签: 计算机视觉
上传时间: 2015-03-15
上传用户:sb_zhang