Skip to main content
Log in

Optimal Narrowing of a Block of Sortings in Optimal Time

  • Published:
Constraints Aims and scope Submit manuscript

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. Benhamou F. and OlderW.J. (1997). Applying Interval Arithmetic to Real, Integer and Boolean Constraints. Journal of Logic Programming.

  2. Knuth D.E. (1973). Sorting and Searching: The Art of Computer Programming, volume 3, Addison Wesley.

  3. OlderW.J. andVellino A. (1990). Extending Prolog with Constraint Arithmetic on Real Intervals, Proceedings of the Canadian Conference on Electrical and Computer Engineering.

  4. OlderW.J., Swinkels G.M. and van Emden M.H. (1995). Getting to the Real Problem: Experience with BNR Prolog in OR, in Proceedings of the Third International Conference on the Practical Applications of Prolog, (PAP'95 à Paris), Alinmead Software Ltd, ISBN 0 9 525554 0 9.

  5. Zhou J. (1997). A permutation-based approach for solving the job-shop problem, Constraints, vol 2, no 2, 185-213.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Bleuzen-Guernalec, N., Colmerauer, A. Optimal Narrowing of a Block of Sortings in Optimal Time. Constraints 5, 85–118 (2000). https://doi.org/10.1023/A:1009870418160

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1009870418160

Navigation