کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
4952263 1442025 2017 13 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
On the exhaustive generation of k-convex polyominoes
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
On the exhaustive generation of k-convex polyominoes
چکیده انگلیسی
The degree of convexity of a convex polyomino P is 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. In this paper we present a simple algorithm for computing the degree of convexity of a convex polyomino and we show how it can be used to design an algorithm that generates, given an integer k, all k-convex polyominoes of area n in constant amortized time, using space O(n). Furthermore, by applying few changes, we are able to generate all convex polyominoes whose degree of convexity is exactly k.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Theoretical Computer Science - Volume 664, 15 February 2017, Pages 54-66
نویسندگان
, , ,