We study the maintenance of a simplicial grid or complex under changing density requirements. The proposed method works in any fixed dimension and generates grids by projecting cross-sections of a monotone simplicial ...
详细信息
We study the maintenance of a simplicial grid or complex under changing density requirements. The proposed method works in any fixed dimension and generates grids by projecting cross-sections of a monotone simplicial complex that lives in one dimension higher than the grid. The density of the grid is adapted by locally moving the cross-section up or down along the extra dimension.
Domain-specific constraints can be exploited to implement compiler optimizations that are not otherwise feasible. Compilers for neural network learning algorithms can achieve near-optimal colocality of data and proces...
详细信息
Domain-specific constraints can be exploited to implement compiler optimizations that are not otherwise feasible. Compilers for neural network learning algorithms can achieve near-optimal colocality of data and processes and near-optimal balancing of load over processors, even for dynamically irregular problems. This is impossible for general programs, but restricting programs to the neural algorithm domain allows for the exploitation of domain-specific properties. The operations performed by neural algorithms are broadcasts, reductions, and object-local operations only;the load distribution is regular with respect to the (perhaps irregular) network topology;changes of network topology occur only from time to time. A language, compilation techniques, and a compiler implementation on the MasPar MP-1 are described and quantitative results for the effects of various optimizations used in the compiler are shown. Conservative experiments with weight pruning algorithms yield performance improvements of 27 percent due to load balancing and 195 percent improvement is achieved due to data locality, both compared to unoptimized versions. Two other optimizations-connection allocation and selecting the number of replicates-speed programs up by about 50 percent and 100 percent, respectively. This work can be viewed as a case study in exploiting domain-specific information;some of the principles presented here may apply to other domains as well.
Let S be a set of n points in R-d and let t > 1 be a real number. A t-spanner for S is a directed graph having the points of S as its vertices, such that for any pair p and q of points there is a path from p to q o...
详细信息
Let S be a set of n points in R-d and let t > 1 be a real number. A t-spanner for S is a directed graph having the points of S as its vertices, such that for any pair p and q of points there is a path from p to q of length at most t times the Euclidean distance between p and q. Such a path is called a t-spanner path. The spanner diameter of such a spanner is defined as the smallest integer D such that for any pair p and q of points there is a t-spanner path from p to q containing at most D edges. A randomized algorithm is given for constructing a t-spanner that, with high probability, contains O(n) edges and has spanner diameter O(log n). A data structure of size O(n log(d) n) is given that maintains this t-spanner in O(log(d) n log log n) expected amortized time per insertion and deletion, in the model of random updates, as introduced by Mulmuley. (C) 1999 Elsevier Science B.V. All rights reserved.
We describe a new randomized data structure, the sparse partition, for solving the dynamic closest-pair problem. Using this data structure the closest pair of a set of n points in D-dimensional space, for any fixed D,...
详细信息
We describe a new randomized data structure, the sparse partition, for solving the dynamic closest-pair problem. Using this data structure the closest pair of a set of n points in D-dimensional space, for any fixed D, can be found in constant time. If a frame containing all the points is known in advance, and if the floor function is available at unit cost, then the data structure supports insertions into and deletions from the set in expected O(log n) time and requires expected O(n) space. This method is more efficient than any deterministic algorithm for solving the problem in dimension D > 1. The data structure can be modified to run in O(log(2) n) expected time per update in the algebraic computation tree model. Even this version is more efficient than the best currently known deterministic algorithm for D > 2. Both results assume that the sequence of updates is not determined in any way by the random choices made by the algorithm.
An study was carried out to evaluate the Temporal Prudence Problem, i.e., the problem of dynamically supporting the execution of the operations insert and precede, on a pointer machine. Various algorithms were derived...
详细信息
An study was carried out to evaluate the Temporal Prudence Problem, i.e., the problem of dynamically supporting the execution of the operations insert and precede, on a pointer machine. Various algorithms were derived to implement these operations. By using the derived algorithms, the worst-case time complexity of these operations was determined. An attempt was also made to prove the upper bound of O((lg lg n) super(2)) per operation for the problem. The results reveal that the square factor in this complexity formula arises from maintaining the non-constant number of fields for each record as a simple list of pointers.
This paper describes new methods for maintaining a point-location data structure for a dynamically changing monotone subdivision. The main approach is based on the maintenance of two interlaced spanning trees, one for...
详细信息
This paper describes new methods for maintaining a point-location data structure for a dynamically changing monotone subdivision. The main approach is based on the maintenance of two interlaced spanning trees, one for and one S for the graph-theoretic planar dual of. Queries are answered by using a centroid decomposition S of the dual tree to drive searches in the S primal tree. These trees are maintained via the link-cut trees structure of Sleator and Tarjan [J. Comput. System Sci., 26 (1983), pp. 362-381], leading to a scheme that achieves vertex insertion/deletion in O(log n) time, insertion/deletion of k-edge monotone chains in O(log n+k) time, and answers queries in O(log(2) n) time, with O(n) space, where n is the current size of subdivision S. The techniques described also allow for the dual operations expand and contract to be implemented in O(log n) time, leading to an improved method for spatial point location in a 3-dimensional convex subdivision. In addition, the interlaced-tree approach is applied to on-line point location (where one builds incrementally), improving the query bound to O(log n log log n) time and the update bounds to O(1) S amortized time in this case. This appears to be the first on-line method to achieve a polylogarithmic query time and constant update time.
In this paper, we consider the problem of dynamic range searching in linear-space index structures. We propose a new dynamic structure that combines Bentley's multilevel range structure with Overmars' dynamiza...
详细信息
In this paper, we consider the problem of dynamic range searching in linear-space index structures. We propose a new dynamic structure that combines Bentley's multilevel range structure with Overmars' dynamization techniques. This structure achieves O(log n) time complexity for updates and O(n(epsilon)) time complexity for queries, for any epsilon > O. This result is an improvement over the static-to-dynamic transformations of Bentley's structure, which yield an update time of O(log(2) n) and a query time of O(n(epsilon)) for any epsilon > 0. (C) 1998 Published by Elsevier Science B.V.
We consider the problem of maintaining a dynamic planar graph subject to edge insertions and edge deletions that preserve planarity but that can change the embedding. We describe algorithms and datastructures for mai...
详细信息
We consider the problem of maintaining a dynamic planar graph subject to edge insertions and edge deletions that preserve planarity but that can change the embedding. We describe algorithms and datastructures for maintaining information about 2- and 3-vertex-connectivity, and 3- and 4-edge-connectivity in a planar graph in O(n(1/2)) amortized time per insertion, deletion, or connectivity query. All of the datastructures handle insertions that keep the graph planar without regard to any particular embedding of the graph. Our algorithms are based on a new type of sparsification combined with several properties of separators in planar graphs.
This paper investigates the problem of searching on-line for the occurrences (occ) of an arbitrary pattern of length p in a text of length n subjected to some updates after its preprocessing. Each text update consists...
详细信息
This paper investigates the problem of searching on-line for the occurrences (occ) of an arbitrary pattern of length p in a text of length n subjected to some updates after its preprocessing. Each text update consists of inserting or deleting an arbitrary string of length y. We present the first dynamic algorithm that achieves optimal query time, i.e., Theta(p + occ), sublinear time per update, i.e., O(root n + y), and optimal space, i.e., Theta(n), in the worst case. As a result, our algorithm obtains the same query time and space usage of suffix trees [McCreight, J. Assoc. Comput. Mach., 23 (1976),pp. 262-272] while improving their O(n + y) update performance.
Compiling for distributed-memory machines has been a very active research area in recent years. Much of this work has concentrated on programs that use arrays as their primary datastructures. To date, little work has...
详细信息
Compiling for distributed-memory machines has been a very active research area in recent years. Much of this work has concentrated on programs that use arrays as their primary datastructures. To date, little work has been done to address the problem of supporting programs that use pointer-based dynamic data structures. The techniques developed for supporting SPMD execution of array-based programs rely on the fact that arrays are statically defined and directly addressable. Recursive datastructures do not have these properties, so new techniques must be developed. In this article, we describe an execution model for supporting programs that use pointer-based dynamic data structures. This model uses a simple mechanism for migrating a thread of control based on the layout of heap-allocated data and introduces parallelism using a technique based on futures and lazy task creation. We intend to exploit this execution model using compiler analyses and automatic parallelization techniques. We have implemented a prototype system, which we call Olden, that runs on the Intel iPSC/860 and the Thinking Machines CM-5. We discuss our implementation and report on experiments with five benchmarks.
暂无评论