Logo image
限定長度與平均範圍之區間找尋問題的最佳演算法
Dissertation

限定長度與平均範圍之區間找尋問題的最佳演算法

謝詠翔
Doctor of Philosophy (PHD), 國立清華大學, 資訊工程學系
2006

Abstract

演算法 資料結構 演算法分析 即時演算法 algorithms data structures analysis of algorithms on-line algorithms
Let A be a sequence of n real numbers, L1 and L2 be two integers such that L1 <= L2, and R1 and R2 be two real numbers such that R1 <= R2. An interval of A is feasible if its length is between L1 and L2 and its average is between R1 and R2. In this dissertation, we study the following problems: finding all feasible intervals of A, counting all feasible intervals of A, finding a maximum cardinality set of non-overlapping feasible intervals of A, locating a longest feasible interval of A, and locating a shortest feasible interval of A. The problems are motivated from the problem of locating CpG islands of a DNA sequence. Locating CpG islands is important for gene finding as well as for cancer research. In this dissertation, we firstly show that all the problems have an Ω(n log n)-time lower bound in the comparison model. Then, we use geometric approaches to design optimal algorithms for the problems. All the presented algorithms run in an on-line manner and use O(n) space.

Metrics

1 Record Views

Details

Logo image