-
十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表...
十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表头节点,将行和列的表头节点合并到了一起――实际只是省了几个指针域,如果行和列数不等,多余的数据域就把这点省出的空间又给用了。这点小动作让我着实废了半天劲,个人感觉,优点不大,缺点不少,不如老老实实写得象个十字链表,让人也好看一些,这是教科书,目的是教学。实在看得晕的人,参阅C版的这部分内容,很清晰。我也不会画图,打个比方吧:这个十字链表的逻辑结构就像是一个围棋盘(没见过,你就想一下苍蝇拍,这个总见过吧),而非零元就好像是在棋盘上放的棋子,总共占的空间就是,确定那些线的表头节点和那些棋子代表的非零元节点。最后,我们用一个指针指向这个棋盘,这个指针就代表了这个稀疏矩阵-Crusaders is the form : Chain Simulation matrix rows (or out, This can be based on individual preferences to be), and then constructed on behalf of the chain out, Each line of the elements inserted into the node corresponding to the series. To book a few small depositors table first node, out of line and the first node table to merge together-- the reality is that a number of indicators provincial jurisdictions, if the number of rows and columns ranging, redundant data domain put this province has granted the use of the space. This little trick I did waste a half-day efforts, personal feeling, not merit, a lot of shortcomings,
- 2022-03-13 05:45:31下载
- 积分:1
-
XML document processing Thoughts
XML文件处理的思考-XML document processing Thoughts
- 2022-02-22 03:46:16下载
- 积分:1
-
快速信息化系统开发框架V4.1
快速信息化系统开发框架V4.1,C#开发的平台,可以快速二次开发
- 2022-04-16 01:05:42下载
- 积分:1
-
中文分词:
输入一个汉字的文本文件,可将里面的汉字分解成一个个符合人们心理的词...
中文分词:
输入一个汉字的文本文件,可将里面的汉字分解成一个个符合人们心理的词-Chinese word : a Chinese character input text files can be inside of a Chinese character is divided into 000 people with mental word
- 2022-05-20 13:38:35下载
- 积分:1
-
vc++6.0实效编程百例的源码,非常好的一本书
vc++6.0实效编程百例的源码,非常好的一本书-vc++6.0 100 cases of the effectiveness of programming
- 2023-01-26 03:25:06下载
- 积分:1
-
Visual Basic 中的拖拉树节点的实现
Visual Basic 中的拖拉树节点的实现-Visual Basic, drag the tree node to achieve
- 2022-08-12 15:57:40下载
- 积分:1
-
语音采集、回放、显示,分析
语音采集、回放、显示,分析-voice capture, playback, display, analysis
- 2023-08-27 03:00:04下载
- 积分:1
-
C8051F06X单片机编程,DAC模块
C8051F06X单片机编程,DAC模块-C8051F06X Microcontroller Programmer, DAC Module
- 2022-07-22 21:12:49下载
- 积分:1
-
很好的计算器
很好的计算器源代码,能实现函数运算,包括sin,cos ,tan,acsin,accos,log,ln等函数运算,能精确到小数点后七位,能够连算,很有开发指导意义,如果有不足之处,还望给位多多指点指点,本人在此感谢!!
- 2022-06-13 15:37:05下载
- 积分:1
-
这个程序是用C++来实现的最优三角剖分问题。用的是动态规划算法来实现的。...
这个程序是用C++来实现的最优三角剖分问题。用的是动态规划算法来实现的。-This procedure is used to achieve the C optimal triangulation problem. Using a dynamic programming algorithm to achieve.
- 2022-03-16 11:34:05下载
- 积分:1