Shortest color-spanning intervals
详细信息    查看全文
文摘
Given a set of n points on a line, where each point has one of k   colors, and given an integer si≥1 for each color i  , 1≤i≤k, the problem Shortest Color-SpanningtIntervals (SCSI-t) aims at finding t   intervals to cover at least si points of each color i  , such that the maximum length of the intervals is minimized. Chen and Misiolek introduced the problem SCSI-1, and presented an algorithm running in O(n) time if the input points are sorted. Khanteimouri et al. gave an O(n2log⁡n) time algorithm for the special case of SCSI-2 with si=1 for all colors i  . In this paper, we present an improved algorithm with running time of O(n2) for SCSI-2 with arbitrary si≥1. We also obtain some interesting results for the general problem SCSI-t. From the negative direction, we show that approximating SCSI-t within any ratio is NP-hard when t is part of the input, is W[2]-hard when t is the parameter, and is W[1]-hard with both t and k as parameters. Moreover, the NP-hardness and the W[2]-hardness with parameter t   hold even if si=1 for all i. From the positive direction, we show that SCSI-t   with si=1 for all i is fixed-parameter tractable with k   as the parameter, and admits an exact algorithm running in O(2kn⋅max⁡{k,log⁡n}) time.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700