Maintaining Arrays of Contiguous Objects
نویسندگان
چکیده
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 Θ(n) 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(mi lg m̂) per insertion or deletion, where mi 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.
منابع مشابه
Abstraction of Arrays Based on Non Contiguous Partitions
ion of Arrays Based on Non Contiguous Partitions Jiangchao Liu, Xavier Rival To cite this version: Jiangchao Liu, Xavier Rival. Abstraction of Arrays Based on Non Contiguous Partitions. 15th Conference on Verification, Model Checking, and Abstract Interpretation, Jan 2015, Mumbai, India. Springer, pp.282 299, 2015, Proceedings of the 15th Conference on Verification, Model Checking, and Abstract...
متن کاملOptical Chirality Enhancement in Twisted Arrays of Plasmonic Nano-rods
An important property of electromagnetic fields, which arises from the interaction between fields and chiral molecules, is called optical chirality. By enhancing this field property, while maintaining constant input power, we are able to increase absorption of circularly polarized light by chiral molecules of a certain handedness. This enhancement is achieved through the use of achiral plasmoni...
متن کاملField Programmable Gate Array–based Implementation of an Improved Algorithm for Objects Distance Measurement (TECHNICAL NOTE)
In this work, the design of a low-cost, field programmable gate array (FPGA)-based digital hardware platform that implements image processing algorithms for real-time distance measurement is presented. Using embedded development kit (EDK) tools from Xilinx, the system is developed on a spartan3 / xc3s400, one of the common and low cost field programmable gate arrays from the Xilinx Spartan fami...
متن کاملFuture study of Description System Architecture Approaches with Emphasis on Strategic Management
Systems Architecture is a generic discipline to handle objects (existing or to be created) called systems, in a way that supports reasoning about the structural properties of these objects. Systems Architecture is a response to the conceptual and practical difficulties of the description and the design of complex systems. Systems Architecture is a generic discipline to handle objects (existin...
متن کاملAn array content static analysis based on non-contiguous partitions
Conventional array partitioning analyses split arrays into contiguous partitions to infer properties of sets of cells. Such analyses cannot group together non contiguous cells, even when they have similar properties. In this paper, we propose an abstract domain which utilizes semantic properties to split array cells into groups. Cells with similar properties will be packed into groups and abstr...
متن کامل