The Sitting Closer to Friends than Enemies Problem in Trees
arXiv:1911.11494
Abstract
A metric space is a \emph{real tree} if for any pair of points all topological embeddings of the segment into , such that and , have the same image (which is then a geodesic segment from to ). A \emph{signed graph} is a graph where each edge has a positive or negative sign. The \emph{Sitting Closer to Friends than Enemies} problem in trees has a signed graph as an input. The purpose is to determine if there exists an injective mapping (called \emph{valid distance drawing}) from to the points of a real tree such that, for every , for every positive neighbor of , and negative neighbor of , the distance between and is smaller than the distance between and . In this work, we show that a complete signed graph has a valid distance drawing in a real tree if and only if its subgraph composed of all (and only) its positive edges has an intersection representation by unit balls in a real tree. Besides, as an instrumental result, we show that a graph has an intersection representation by unit balls in a real tree if and only if it has an intersection representation by proper balls, and if and only if it has an intersection representation by arbitrary balls in a real tree.
arXiv comment10 pages, 5 figures