The Bichromatic Two-Center Problem on Graphs

Abstract

In this paper, we study the (weighted) bichromatic two-center problem on graphs. The input consists of a graph G of n (weighted) vertices and m edges, and a set P of pairs of distinct vertices, where no vertex appears in more than one pair. The problem aims to find two points (i.e., centers) on G by assigning vertices of each pair to different centers so as to minimize the maximum (weighted) distance of vertices to their assigned centers (so that the graph can be bi-colored with this goal). To the best of our knowledge, this problem has not been studied on graphs, including tree graphs. In this paper, we propose an O(m2n n mn) algorithm for solving the problem on an undirected graph provided with the distance matrix, an O(n n)-time algorithm for the problem on trees, and a linear-time approach for the unweighted tree version.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…