Maintaining Arrays of Contiguous Objects

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

12 pages, 4 figures

Scientific paper

In this paper we consider methods for dynamically storing a set of different objects ("modules") in a physical array. Each module requires one free contiguous subinterval in order to be placed. Items are inserted or removed, resulting in a fragmented layout that makes it harder to insert further modules. It is possible to relocate modules, one at a time, to another free subinterval that is contiguous and does not overlap with the current location of the module. These constraints clearly distinguish our problem from classical memory allocation. We present a number of algorithmic results, including a bound of Theta(n^2) on physical sorting if there is a sufficiently large free space and sum up NP-hardness results for arbitrary initial layouts. For online scenarios in which modules arrive one at a time, we present a method that requires O(1) moves per insertion or deletion and amortized cost O(m_i log M) per insertion or deletion, where m_i is the module's size, M is the size of the largest module and costs for moves are linear in the size of a module.

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

Maintaining Arrays of Contiguous Objects 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 Maintaining Arrays of Contiguous Objects, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Maintaining Arrays of Contiguous Objects will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-550236

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