首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > linkedmatrix

linkedmatrix

  • 资源大小:11.05 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

The purpose of the project was to implement a quadruply-linked matrix. I have taken the concept for a linked list and extended it to matricies in an atypical way. Each node is linked to other nodes with an up, down, left, and right pointer. There is a row of column sentinels, and a column of row sentinels. Each column and row can be iterated over like an individual linked list. The matrix is circularly linked in both the horizontal and vertical directions, making a boundless matrix very easy to implement. As an example of what can be done with a linked matrix, I made an applet where each node in the QMatrix is represented by a separate cell in a simulation. Full description: ``` A QMatrix is a mutable, quadruply linked matrix ADT. Each row is circularly linked and each column is circularly linked. The row and column of sentinel nodes that result are also circularly linked, and share the main sentinel node. This concept could be confusing, so here is an ascii diagram

文 件 列 表

linkedmatrix
src
qMatrix
src

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 猕猴桃 1天前 成为了本站会员

  • 11 1天前 成为了本站会员

  • 开心快活人 1天前 成为了本站会员

  • 晋财 1天前 成为了本站会员

  • WYG 2天前 成为了本站会员

  • Shine 2天前 成为了本站会员

  • 柳贻 2天前 成为了本站会员

  • hallelujah_HL 2天前 成为了本站会员

  • 焦昱贺 2天前 成为了本站会员

  • Rubin 2天前 成为了本站会员

0.244191s