Optimal Narrowing of a Block of Sortings in Optimal Time
暂无分享,去创建一个
Let D be a totally ordered set. Call an n -block, a Cartesian product of n closed and possibly empty intervals of D. Let sort be the set of all 2n -tuples of elements of D of the form (x1,...,x2n) , where (xn+1,...,x2n) is the n -tuple obtained by sorting the elements of the n -tuple (x1,...,xn) in non-decreasing order. We present and justify an algorithm of complexity O(n log n) which, given a 2n -block a , computes a 2n -block which, by inclusion, is the smallest block containing the set sort a . We show that this complexity is optimal.
[1] Donald E. Knuth,et al. The Art of Computer Programming: Volume 3: Sorting and Searching , 1998 .
[2] Jianyang Zhou. A Permutation-Based Approach for Solving the Job-Shop Problem , 2004, Constraints.
[3] Frédéric Benhamou,et al. Applying Interval Arithmetic to Real, Integer, and Boolean Constraints , 1997, J. Log. Program..
[4] Donald E. Knuth,et al. Sorting and Searching , 1973 .
[5] W. Older,et al. Extending Prolog with Constraint Arithmetic on Real Intervals , 1990 .