A linear time algorithm for recognizing regular boolean functions

  • Authors:
  • Kazuhisa Makino

  • Affiliations:
  • Division of Systems Science, Graduate School of Engineering Science, Osaka University, Toyonaka, Osaka, Japan

  • Venue:
  • Journal of Algorithms
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

A positive (or monotone) Boolean function is regular if its variables are naturally ordered, left to right, by decreasing strength, so that shifting the nonzero component of any true vector to the left always yields another true vector. This paper considers the problem of recognizing whether a positive function f is regular, where f is given by min T(f) (the set of all minimal true vectors of f). We propose a simple linear time (i.e., O(n|min T(f)|)- time) algorithm for it. This improves upon the previous algorithm by Provan and Ball which requires O(n2|min T(f)|) time. As a corollary, we also present an O(n(n + |min T(f)|))- time algorithm for the recognition problem of 2-monotonic functions.