Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
On computing the degree of convexity of polyominoes - MaRDI portal

On computing the degree of convexity of polyominoes (Q490307)

From MaRDI portal





scientific article; zbMATH DE number 6389246
Language Label Description Also known as
English
On computing the degree of convexity of polyominoes
scientific article; zbMATH DE number 6389246

    Statements

    On computing the degree of convexity of polyominoes (English)
    0 references
    0 references
    0 references
    0 references
    22 January 2015
    0 references
    Summary: In this paper we present an algorithm which has as input a convex polyomino \(P\) and computes its degree of convexity, defined as the smallest integer \(k\) such that any two cells of \(P\) can be joined by a monotone path inside \(P\) with at most \(k\) changes of direction. The algorithm uses space \(O(m + n)\) to represent a polyomino \(P\) with \(n\) rows and \(m\) columns, and has a running time \(O(\min(m; r k))\), where \(r\) is the number of corners of \(P\). Moreover, the algorithm leads naturally to a decomposition of \(P\) into simpler polyominoes.
    0 references
    convex polyominoes
    0 references
    degree of convexity
    0 references

    Identifiers