摘要
螺旋矩阵是一种特殊的二维矩阵,因其自身规律性可应用于加密等算法中。文章从螺旋矩阵的概念开始,介绍并分析传统离线算法与其在性能上的不足;其次,提出并推导一种适用于生成与查询操作的在线算法;最后,通过实验对比,展示在线算法较传统离线算法在性能上的优势。以此丰富在线算法的理论内容,对相关研究者有所帮助。
Spiral matrix is a special two-dimensional matrix, which can be applied to encryption and other algorithms because of its own regularity. Starting with the concept of spiral matrix, we introduce and analyze the performance shortcomings of the traditional offline algorithm, and then propose and derive an online algorithm suitable for generation and query operation. Finally, the performance advantages of online algorithm compared with traditional offline algorithm are shown. It is hoped to enrich the theoretical content of the online algorithm and be helpful to relevant researchers.
作者
彭海洋
Peng Haiyang(Henan Institute of Animal Husbandry and Economics,Zhengzhou 475000,China)
出处
《无线互联科技》
2022年第15期143-146,共4页
Wireless Internet Technology
关键词
螺旋矩阵
在线算法
算法优化
helical matrix
online algorithm
algorithm optimization