On the exhaustive generation of k-convex polyominoes

Giuseppa Castiglione, Stefano Brocchi, Paolo Massazza

Risultato della ricerca: Articlepeer review

6 Citazioni (Scopus)

Abstract

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.
Lingua originaleEnglish
pagine (da-a)54-66
Numero di pagine13
RivistaTheoretical Computer Science
Volume664
Stato di pubblicazionePublished - 2017

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • ???subjectarea.asjc.1700.1700???

Fingerprint Entra nei temi di ricerca di 'On the exhaustive generation of k-convex polyominoes'. Insieme formano una fingerprint unica.

Cita questo