An efficient algorithm for chain multiplication of dense matrices and its computer implementation

被引:0
|
作者
Faculty of Mathematics and Computer Science, Quanzhou Normal University, Quanzhou 362000, China [1 ]
不详 [2 ]
机构
[1] Faculty of Mathematics and Computer Science, Quanzhou Normal University
[2] Faculty of Mathematics and Computer Science, Fuzhou University
来源
J. Comput. Inf. Syst. | / 10卷 / 4299-4306期
关键词
Algorithms; Convex polygon partition; Dynamic programming; Matrix chain ordering;
D O I
10.12733/jcis10313
中图分类号
学科分类号
摘要
In this work, we consider the matrix chain ordering problem to determine the optimal computation order of the matrix chain products. A new algorithm for the matrix chain ordering problem is presented. The time complexity of the presented algorithm is O(n logm), where n is the number of matrices in the chain and m is the number of local minimums in the dimension sequence of the given matrix chain. When m is a fixed constant, the new algorithm requires only O(n) time. The new algorithm is not only an improvement on the time complexity compared to the O(n log n) time algorithm of Hu and Shing, but also substantially simpler than the Hu-Shing algorithm. 1553-9105/Copyright © 2014 Binary Information Press.
引用
收藏
页码:4299 / 4306
页数:7
相关论文
共 32 条
  • [21] A Novel Algorithm for Online Inexact String Matching and its FPGA Implementation
    Alessandro Cinti
    Filippo Maria Bianchi
    Alessio Martino
    Antonello Rizzi
    Cognitive Computation, 2020, 12 : 369 - 387
  • [22] A Novel Algorithm for Online Inexact String Matching and its FPGA Implementation
    Cinti, Alessandro
    Bianchi, Filippo Maria
    Martino, Alessio
    Rizzi, Antonello
    COGNITIVE COMPUTATION, 2020, 12 (02) : 369 - 387
  • [23] An Efficient CGM-Based Parallel Algorithm Solving the Matrix Chain Ordering Problem
    Myoupo, Jean Frederic
    Tchendji, Vianney Kengne
    INTERNATIONAL JOURNAL OF GRID AND HIGH PERFORMANCE COMPUTING, 2014, 6 (02) : 74 - 100
  • [24] Design and Implementation of an Efficient Wear-Leveling Algorithm for Solid-State-Disk Microcontrollers
    Chang, Li-Pin
    Du, Chun-Da
    ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2009, 15 (01)
  • [25] A Memory-Efficient Pipelined Implementation of the Aho-Corasick String-Matching Algorithm
    Pao, Derek
    Lin, Wei
    Liu, Bin
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2010, 7 (02)
  • [26] PARALLEL PROCESSING COMPUTER IMPLEMENTATION OF A REAL-TIME DC MOTOR DRIVE FAULT-DETECTION ALGORITHM
    STAVRAKAKIS, GS
    LEFAS, C
    POULIEZOS, A
    IEE PROCEEDINGS-B ELECTRIC POWER APPLICATIONS, 1990, 137 (05): : 309 - 313
  • [27] An efficient computer-aided structural elucidation strategy for mixtures using an iterative dynamic programming algorithm
    Bo-Han Su
    Meng-Yu Shen
    Yeu-Chern Harn
    San-Yuan Wang
    Alioune Schurz
    Chieh Lin
    Olivia A. Lin
    Yufeng J. Tseng
    Journal of Cheminformatics, 9
  • [28] Efficient Algorithm for Proportional Lumpability and Its Application to Selfish Mining in Public Blockchains
    Piazza, Carla
    Rossi, Sabina
    Smuseva, Daria
    ALGORITHMS, 2024, 17 (04)
  • [29] An efficient computer-aided structural elucidation strategy for mixtures using an iterative dynamic programming algorithm
    Su, Bo-Han
    Shen, Meng-Yu
    Harn, Yeu-Chern
    Wang, San-Yuan
    Schurz, Alioune
    Lin, Chieh
    Lin, Olivia A.
    Tseng, Yufeng J.
    JOURNAL OF CHEMINFORMATICS, 2017, 9
  • [30] A multi-level frontal algorithm for finite element analysis and its implementation on parallel computation
    Wang, XC
    Baggio, P
    Schrefler, BA
    ENGINEERING COMPUTATIONS, 1999, 16 (04) : 405 - 427