Skip to main navigation Skip to search Skip to main content

A fast algorithm to calculate powers of a Boolean matrix for diameter computation of random graphs

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Citations (Scopus)

Abstract

In this paper, a fast algorithm is proposed to calculate k th power of an n×n Boolean matrix that requires O(kn 3 p) addition operations, where p is the probability that an entry of the matrix is 1. The algorithm generates a single set of inference rules at the beginning. It then selects entries (specified by the same inference rule) from any matrix A k-1 and adds them up for calculating corresponding entries of A k . No multiplication operation is required. A modification of the proposed algorithm can compute the diameter of any graph and for a massive random graph, it requires only O(n2(1-p)E[q]) operations, where q is the number of attempts required to find the first occurrence of 1 in a column in a linear search. The performance comparisons say that the proposed algorithms outperform the existing ones.

Original languageEnglish
Title of host publicationWALCOM
Subtitle of host publicationAlgorithms and Computation - Second International Workshop, WALCOM 2008, Proceedings
Pages58-69
Number of pages12
DOIs
Publication statusPublished - 2008
Event2nd International Workshop on Algorithms and Computation, WALCOM 2008 - Dhaka, Bangladesh
Duration: 7 Feb 20088 Feb 2008

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4921 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference2nd International Workshop on Algorithms and Computation, WALCOM 2008
Country/TerritoryBangladesh
CityDhaka
Period7/02/088/02/08

Keywords

  • Adjacency matrix
  • Boolean matrix
  • Computational complexity
  • Graph diameter
  • Random graphs

Fingerprint

Dive into the research topics of 'A fast algorithm to calculate powers of a Boolean matrix for diameter computation of random graphs'. Together they form a unique fingerprint.

Cite this