## Abstract

The p-center problem is to locate p facilities on a network so as to minimize the largest distance from a demand point to its nearest facility. The p-median problem is to locate p facilities on a network so as to minimize the average distance from one of the n demand points to one of the p facilities. We provide, given the interval model of an n vertex interval graph, an Ofn) time algorithm for the 1-median problem on the interval graph. We also show how to solve the p-median problem, for arbitrary p, on an interval graph in 0(pn log n) time and on an circular-arc graph in 0(pn2 logn) time. Other than for trees, no polynomial time algorithm for p-median problem has been reported for any large class of graphs. We introduce a spring model of computation and show how to solve the p-center problem on an circular-arc graph in 0(pn) time, assuming that the arc endpoints are sorted.

Original language | English |
---|---|

Pages (from-to) | 100-112 |

Number of pages | 13 |

Journal | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |

Volume | 1879 |

DOIs | |

State | Published - 1 Jan 2000 |

Externally published | Yes |

## ASJC Scopus subject areas

- Theoretical Computer Science
- Computer Science (all)