<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ArticleSet PUBLIC "-//NLM//DTD PubMed 2.7//EN" "https://dtd.nlm.nih.gov/ncbi/pubmed/in/PubMed.dtd">
<ArticleSet>
<Article>
<Journal>
				<PublisherName>University of Tabriz</PublisherName>
				<JournalTitle>Tabriz Journal of Electrical Engineering</JournalTitle>
				<Issn>2008-7799</Issn>
				<Volume>54</Volume>
				<Issue>4</Issue>
				<PubDate PubStatus="epublish">
					<Year>2024</Year>
					<Month>11</Month>
					<Day>21</Day>
				</PubDate>
			</Journal>
<ArticleTitle>Generating all compact codes with constraint on the smallest codelength</ArticleTitle>
<VernacularTitle>Generating all compact codes with constraint on the smallest codelength</VernacularTitle>
			<FirstPage>465</FirstPage>
			<LastPage>476</LastPage>
			<ELocationID EIdType="pii">17603</ELocationID>
			
<ELocationID EIdType="doi">10.22034/tjee.2024.58987.4752</ELocationID>
			
			<Language>FA</Language>
<AuthorList>
<Author>
					<FirstName>H.</FirstName>
					<LastName>Narimani</LastName>
<Affiliation>Department of electrical and computer engineering, Isfahan University of Technology, Isfahan, Iran</Affiliation>

</Author>
<Author>
					<FirstName>M.</FirstName>
					<LastName>Khosravifard</LastName>
<Affiliation>Department of electrical and computer engineering, Isfahan University of Technology, Isfahan, Iran</Affiliation>

</Author>
</AuthorList>
				<PublicationType>Journal Article</PublicationType>
			<History>
				<PubDate PubStatus="received">
					<Year>2023</Year>
					<Month>10</Month>
					<Day>25</Day>
				</PubDate>
			</History>
		<Abstract>Although by employing the Huffman algorithm one can construct the compact code (code with Kraft sum equal to 1) with minimum redundancy for an information source, in some problems it is required to first construct all possible compact codes and then select an appropriate one on the basis of a desired criterion. In particular, if the length of all codewords of an n-tuple compact code is λ or more, then the difference between the largest and the smallest codeword lengths is limited to n-2^λ, and as a result, by considering larger values for λ, the variation in delay of decoding different symbols of the source can be reduced. The main goal of this paper is construction of all such codes and an algorithm is introduced which generates only these codes (i.e., n-tuple compact codes with all codewords of length λ or more). Noting the correspondence between the multiplicity vectors of the compact codes and some sequences of numbers, we find the necessary and sufficient condition that a sequence of numbers is correspondent with a compact code with the shortest codeword at least λ bits long. This way by generating all suitable sequences, all the desired compact codes can be constructed without generating any other compact code. Using the proposed algorithm, less computational resources are required. For example, for λ=3, the required computational resources for generating only the desired compact codes are 5 percent of those when all compact codes are generated.</Abstract>
			<OtherAbstract Language="FA">Although by employing the Huffman algorithm one can construct the compact code (code with Kraft sum equal to 1) with minimum redundancy for an information source, in some problems it is required to first construct all possible compact codes and then select an appropriate one on the basis of a desired criterion. In particular, if the length of all codewords of an n-tuple compact code is λ or more, then the difference between the largest and the smallest codeword lengths is limited to n-2^λ, and as a result, by considering larger values for λ, the variation in delay of decoding different symbols of the source can be reduced. The main goal of this paper is construction of all such codes and an algorithm is introduced which generates only these codes (i.e., n-tuple compact codes with all codewords of length λ or more). Noting the correspondence between the multiplicity vectors of the compact codes and some sequences of numbers, we find the necessary and sufficient condition that a sequence of numbers is correspondent with a compact code with the shortest codeword at least λ bits long. This way by generating all suitable sequences, all the desired compact codes can be constructed without generating any other compact code. Using the proposed algorithm, less computational resources are required. For example, for λ=3, the required computational resources for generating only the desired compact codes are 5 percent of those when all compact codes are generated.</OtherAbstract>
		<ObjectList>
			<Object Type="keyword">
			<Param Name="value">Compact code</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Kraft sum</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Huffman code</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">multiplicity vector</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">smallest codeword length</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Redundancy</Param>
			</Object>
		</ObjectList>
<ArchiveCopySource DocType="pdf">https://tjee.tabrizu.ac.ir/article_17603_139208c0f77d0d2ae297351d0d77a234.pdf</ArchiveCopySource>
</Article>
</ArticleSet>
