An algorithm for testing whether a regular language is a code

Nguyễn Đình Hân, Hồ Ngọc Vinh, Phạm Trung Huy, Đỗ Long Vân
Author affiliations

Authors

  • Nguyễn Đình Hân
  • Hồ Ngọc Vinh
  • Phạm Trung Huy
  • Đỗ Long Vân

DOI:

https://doi.org/10.15625/1813-9663/27/1/457

Abstract

We present an extension of the test proposed by Sardinas and Patterson (1953) for deciding whether a set of words is a code. As a consequence, we obtain an effective algorithm that decides in ${\cal O}(k)$ time whether a given regular language is a code, where $k$ is the finite index of the syntactic congruence of this language.

Metrics

Metrics Loading ...

Published

18-04-2012

How to Cite

[1]
N. Đình Hân, H. N. Vinh, P. T. Huy, and Đỗ L. Vân, “An algorithm for testing whether a regular language is a code”, JCC, vol. 27, no. 1, pp. 1–8, Apr. 2012.

Issue

Section

Computer Science