The following question is motivated by the recent results of this paper:
| is a member of the star of S = { |
| , |
| , |
| }. |
Now S is a code if every picture in S* can be decomposed in a unique way (with respect to S ofc).
The set S above is a code since there is at most one element of S fitting to the top-left cell of any labeled polyomino (if it's a, we have to use the first domino, if b, the third and if c, the second, iterate).
A code S is maximal if no proper superset of S is a code. (The above S is not maximal since by adding a horizontal domino (a c) we still get a code.)
The question is to determine the complexity of the following problem:
From the results of the paper we know it's decidable. But is it in P? or coNP-hard?
- input: a finite set S of pictures,
- output: YES iff S is a maximal code.
From the results of the paper we know it's decidable. But is it in P? or coNP-hard?
(note that I have to check the complexity of determining whether a set S is a code or not.)
ReplyDelete