# On Assigning Prefix Free Codes to the Vertices of a Graph

Narayanaswamy, NS and Madhavan, Veni CE (2001) On Assigning Prefix Free Codes to the Vertices of a Graph. [Book Chapter]

 PDF fulltext.pdf Restricted to Registered users only Download (197Kb) | Request a copy

## Abstract

For a graph G on n vertices, with positive integer weights $w_1, . . . , w_n$ assigned to the n vertices such that, for every clique K of G, $$\sum_{i \in K}{\frac{1}{2^{w_i}}} \leq 1$$, the problem we are interested in is to assign binary codes $C_1, . . . , C_n$ to the vertices such that $C_i$ has $w_i$ (or a function of $w_i$) bits in it and, for every edge \{i, j\}, $C_i$ and $C_j$ are not prefixes of each other.We call this the Graph Prefix Free Code Assignment Problem. We relate this new problem to the problem of designing adversaries for comparison based sorting algorithms. We show that the decision version of this problem is as hard as graph colouring and then present results on the existence of these codes for prefect graphs and its subclasses.

Item Type: Book Chapter Copyright of this article belongs to Springer. Also appeared in the Proceedings of the 7th Annual International Conference on Computing and Combinatorics. Division of Electrical Sciences > Computer Science & Automation (Formerly, School of Automation) 08 Aug 2008 19 Sep 2010 04:48 http://eprints.iisc.ernet.in/id/eprint/15486