On Assigning Prefix Free Codes to the Vertices of a Graph
- Publication date
- Publisher
- Springer
Abstract
For a graph G on n vertices, with positive integer weights w1β,...,wnβ 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 C1β,...,Cnβ to the vertices such that Ciβ has wiβ (or a function of wiβ) bits in it and, for every edge \{i, j\}, Ciβ and Cjβ 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