【24h】

Algorithms for Problems on Maximum Density Segment

机译:最大密度段问题的算法

获取原文

摘要

Let A be a sequence of n ordered pairs of real numbers (a_i,l_i) (i = 1,..., n) with l_i > 0, and L and U be two positive real numbers with 0 < L ≤ U. A segment, denoted by A[i,j],l ≤ i ≤ j ≤ n, of A is a consecutive subsequence of A between the indices i and j (i and j included). The length l[i,j], sum s[i,j] and density d[i,j] of a segment A[i,j] are l[i,j] = ∑_(t=i)~j l_t, s[i,j] = ∑_(t=i)~j a_t and d[i,j] =s[i,j]/l[i,j] respectively. A segment A[i,j] is feasible if L ≤ l[i,j] ≤ U. The length-constrained maximum density segment problem is to find a feasible segment of maximum density. We present a simple geometric algorithm for this problem for the uniform length case (U = 1 for all i), with time and space complexities in O(n) and O(U - L + 1) respectively. The k length-constrained maximum density segments problem is to find the k most dense length-constrained segments. For the uniform length case, we propose an algorithm for this problem with time complexity in O(min{nk,n lg(U - L + 1) + klg~2(U -L + 2),n(U-L + 1)}).
机译:设A为n_l> 0的n个有序实数对(a_i,l_i)(i = 1,...,n)的序列,L和U为两个0 <L≤U的正实数。 A的A [i,j],l≤i≤j≤n表示的段是索引i和j(包括i和j)之间A的连续子序列。段A [i,j]的长度l [i,j],总和s [i,j]和密度d [i,j]为l [i,j] = ∑_(t = i)〜j l_t,s [i,j] = ∑_(t = i)〜j a_t和d [i,j] = s [i,j] / l [i,j]。如果L≤l [i,j]≤U,则分段A [i,j]是可行的。长度受约束的最大密度分段问题是找到最大密度的可行分段。对于均匀长度的情况(所有i均为U = 1),我们提出了一个简单的几何算法,时间和空间复杂度分别为O(n)和O(U-L + 1)。 k个长度受约束的最大密度段问题是找到k个最受约束的长度受约束的段。对于均匀长度情况,我们针对时间复杂度为O(min {nk,n lg(U-L + 1)+ klg〜2(U -L + 2),n(UL +1))的时间提出一种算法})。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号