Algorithms for Pattern Containment in 0-1 Matrices
Abstract
We say a zero-one matrix avoids another zero-one matrix if no submatrix of can be transformed to by changing some ones to zeros. A fundamental problem is to study the extremal function , the maximum number of nonzero entries in an zero-one matrix which avoids . To calculate exact values of for specific values of , we need containment algorithms which tell us whether a given matrix contains a given pattern matrix . In this paper, we present optimal algorithms to determine when an matrix contains a given pattern when is a column of all ones, an identity matrix, a tuple identity matrix, an -shaped pattern, or a cross pattern. These algorithms run in time, which is the lowest possible order a containment algorithm can achieve. When is a rectangular all-ones matrix, we also obtain an improved running time algorithm, albeit with a higher order.
Cite
@article{arxiv.1704.05207,
title = {Algorithms for Pattern Containment in 0-1 Matrices},
author = {P. A. CrowdMath},
journal= {arXiv preprint arXiv:1704.05207},
year = {2017}
}
Comments
12 pages