Finding Short Synchronizing Words for Prefix Codes

06/16/2018
by   Andrew Ryzhikov, et al.
0

We study the problems of finding a shortest synchronizing word and its length for a given prefix code. This is done in two different settings: when the code is defined by an arbitrary decoder recognizing its star and when the code is defined by its literal decoder (whose size is polynomially equivalent to the total length of all words in the code). For the first case for every ε > 0 we prove n^1 - ε-inapproximability for recognizable binary maximal prefix codes, Θ( n)-inapproximability for finite binary maximal prefix codes and n^1/2 - ε-inapproximability for finite binary prefix codes. By c-inapproximability here we mean the non-existence of a c-approximation polynomial time algorithm under the assumption P NP, and by n the number of states of the decoder in the input. For the second case, we propose approximation and exact algorithms and conjecture that for finite maximal prefix codes the problem can be solved in polynomial time. We also study the related problems of finding a shortest mortal and a shortest avoiding word.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/19/2020

Gray codes for Fibonacci q-decreasing words

An n-length binary word is q-decreasing, q≥ 1, if every of its length ma...
research
07/03/2022

An Improved Algorithm for Finding the Shortest Synchronizing Words

A synchronizing word of a deterministic finite complete automaton is a w...
research
12/05/2019

Complete Variable-Length Codes: An Excursion into Word Edit Operations

Given an alphabet A and a binary relation τ⊆ A * x A * , a language X ⊆ ...
research
01/30/2020

Polynomial Time Algorithms for Constructing Optimal Binary AIFV-2 Codes

Huffman Codes are optimal Instantaneous Fixed-to-Variable (FV) codes in ...
research
10/14/2022

On the size of maximal binary codes with 2, 3, and 4 distances

We address the maximum size of binary codes and binary constant weight c...
research
12/20/2013

Generating Shortest Synchronizing Sequences using Answer Set Programming

For a finite state automaton, a synchronizing sequence is an input seque...
research
04/19/2020

On synchronization of partial automata

A goal of this paper is to introduce the new construction of an automato...

Please sign up or login with your details

Forgot password? Click here to reset