-
pinfanfangwen
设有一头指针为L的带有表头结点的非循环双向链表,其每个结点中除有prev(前驱指针),data(数据)和next(后继指针)域外,还有一个访问频度域freq。在链表被起用前,其值均初始化为零。每当在链表中进行一次Locate(L,x)运算时,令元素值为x的结点中freq域的值增1,并使此链表中结点保持按访问频度非增(递减)的顺序排列,同时最近访问的结点排在频度相同的结点的最后,以便使频繁访问的结点总是靠近表头。试编写符合上述要求的Locate(L,x)运算的算法,该运算为函数过程,返回找到结点的地址,类型为指针型。(Has a head pointer is non-circular doubly linked list L with a header node, each node in addition to prev (precursor pointer), data (data) and next (successor pointers) outside, there is an access frequency degree domain freq. Before the list was hired, their values are initialized to zero. Whenever carried out in the list once Locate (L, x) when the operation, so that the element node x is the value in freq domain by one, and keep this list in the node-access frequency of non-increasing (decreasing) the order, while a recent visit to the nodes in the same row of the frequency of the last node, so that the nodes are frequently accessed tables are always near the head. Locate (L, x) algorithm is prepared in accordance with the above requirements of the test operation, the operation as a function of the process, return to find the address of the node of type pointer.)
- 2015-01-15 22:31:59下载
- 积分:1
-
使用stm32的串口实现fifo队列缓冲读写数据
使用stm32的串口实现fifo队列缓冲读写数据,值得新手学习((Using STM32 serial port to realize FIFO queue buffer read and write data, it is worth learning by novice.))
- 2020-06-20 00:20:02下载
- 积分:1
-
9255883
介绍VC基本功能应用,以及如何操作VC界面的基本按钮()
- 2018-02-22 21:54:24下载
- 积分:1
-
红月服务端RM3.944+v2.5b
RM3.944+v2.5b服务端程序RM3.944+v2.5bRM3.944+v2.5bRM3.944+v2.5bRM3.944+v2.5bRM3.944+v2.5bRM3.944+v2.5bRM3.944+v2.5b
- 2023-02-19 13:15:04下载
- 积分:1
-
management-system
基于mfc的旅游管理系统,其中涵盖了对数据库的基本操作(Mfc-based travel management system, which covers the basic operation of the database)
- 2012-11-07 11:46:52下载
- 积分:1
-
FileCheck
文件监控,yong VC++ xiele (file watch!!!)
- 2014-06-03 01:05:19下载
- 积分:1
-
measure
计算脑功能网络相关测度,计算脑功能网络相关测度,,edf信号(Calculate the related measure of functional brain networks)
- 2013-01-26 09:56:47下载
- 积分:1
-
模拟I2C主机定时中断发送
使用模拟I2C主机发送数据时,大家通常采用延时的方式,在某些场合下比较浪费时间。本资源采用定时器中断的方式,在中断中发送数据。
- 2022-08-13 05:48:04下载
- 积分:1
-
opengl-zoom-rotate-pan
opengl 3d的旋转、缩放和平移,可以很方面的实现。
- 2013-06-17 23:03:49下载
- 积分:1
-
STM32F103_I2C
说明: 两片STM32F103间的硬件iic通信,主机从机均采用硬件IIC配置(The hardware IIC communication between the two STM32F103 chips, and the host and slave computers adopt the hardware IIC configuration)
- 2020-01-03 20:05:37下载
- 积分:1