插入缺失是指单个插入或缺失,而编辑是指单个插入、缺失或取代。在本文中,我们调查的代码,打击无论是一个单一的indel或一个单一的编辑,并提供线性时间算法,编码二进制消息到这些代码的长度为n。在四进制字母表上,我们提供了两个线性时间编码器。一个用log n + O(log log n)冗余位校正单个编辑,而另一个用log n + 2冗余位校正单个插入缺失。这两个编码器是阶数最优的。前一个编码器是第一个已知的阶数最优编码器,它可以纠正单个编辑,而后一个编码器(纠正单个插入缺失)将Tenengolts(1984)的最佳编码器的冗余减少了至少四位。在DNA字母表上,我们施加了一个额外的约束:GC平衡约束,并要求任何DNA码字的一半符号是C或G。特别是,通过修改克努特的平衡技术,我们提供了一个线性时间映射,将二进制消息转换为GC平衡的码字,得到的码本是能够纠正一个单一的插入缺失或一个单一的编辑。这些是第一个已知的GC平衡编码的结构,它可以纠正单个indel或单个编辑。
英文摘要:
An indel refers to a single insertion or deletion, while an edit refers to a single insertion, deletion or substitution. In this paper, we investigate codes that combat either a single indel or a single edit and provide linear-time algorithms that encode binary messages into these codes of length n. Over the quaternary alphabet, we provide two linear-time encoders. One corrects a single edit with log n + O(log log n) redundancy bits, while the other corrects a single indel with log n + 2 redundant bits. These two encoders are order-optimal. The former encoder is the first known order-optimal encoder that corrects a single edit, while the latter encoder (that corrects a single indel) reduces the redundancy of the best known encoder of Tenengolts (1984) by at least four bits. Over the DNA alphabet, we impose an additional constraint: the GC-balanced constraint and require that exactly half of the symbols of any DNA codeword to be either C or G. In particular, via a modification of Knuth's balancing technique, we provide a linear-time map that translates binary messages into GC-balanced codewords and the resulting codebook is able to correct a single indel or a single edit. These are the first known constructions of GC-balanced codes that correct a single indel or a single edit.