Selection in the Presence of Memory Faults, with Applications to In-place Resilient Sorting

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

18 pages

Scientific paper

This paper focuses on solving the selection problem in the faulty memory RAM (FRAM) model. In the selection problem the goal is to locate the k-th smallest element in an unsorted array of size n. The FRAM model, introduced by Finocchi and Italiano in [11], is a variant of the RAM model in which the content of memory cells may become corrupted, and corrupted cells are indistinguishable from uncorrupted cells. The model assumes knowledge of an upper bound {\delta} on the number of corruptions that may occur, and O(1) reliable memory cells which will never become corrupted. In this model, an algorithm solving the selection problem is said to be correct if the element returned has rank between k - {\alpha} and k + {\alpha} in the input array, where {\alpha} is the number of corruptions that occurred during the execution of the algorithm. One of the major difficulties in this model is dealing with recursion, because if the stack is too large, memory corruptions can cause the system to behave unexpectedly. To this end, this paper develops techniques for the recursion stack in the FRAM model which allow to sometimes use non-tail recursion algorithms, as is the case with the solution to the selection problem presented within. This, together with several other techniques, leads to an O(n) worst case deterministic algorithm for the selection problem in the FRAM model. Interestingly, the running time does not depend on the number of faults. Moreover, the algorithm does not need to know {\delta} explicitly. In addition, a new randomized in-place resilient sorting algorithm is developed, which is based on a simple randomized selection algorithm in the FRAM model. This is the first inplace sorting algorithm presented in this model with expected running time O(n log n + {\alpha}{\delta}).

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Selection in the Presence of Memory Faults, with Applications to In-place Resilient Sorting does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Selection in the Presence of Memory Faults, with Applications to In-place Resilient Sorting, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Selection in the Presence of Memory Faults, with Applications to In-place Resilient Sorting will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-518540

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.