Content deleted Content added
+60187660862 Tags: Reverted Visual edit Mobile edit Mobile web edit |
Undid revision 1017571261 by 27.125.242.16 (talk) |
||
Line 1:
A '''prefix code'''
For example, a code with code words {9, 55} has the prefix property; a code consisting of {9, 5, 59, 55} does not, because "5" is a prefix of "59" and also of "55". A prefix code is a [[uniquely decodable code]]: given a complete and accurate sequence, a receiver can identify each word without requiring a special marker between words. However, there are uniquely decodable codes that are not prefix codes; for instance, the reverse of a prefix code is still uniquely decodable (it is a suffix code), but it is not necessarily a prefix code.
|