The coarse-grained multicomputer parallel model(CGM for short)has been used for solving several classes of dynamic programming problems.In this paper,we propose a parallel algorithm on the CGM model,with p processors,...The coarse-grained multicomputer parallel model(CGM for short)has been used for solving several classes of dynamic programming problems.In this paper,we propose a parallel algorithm on the CGM model,with p processors,for solving the optimal binary search tree problem(OBST problem),which is a polyadic non-serial dynamic programming problem.Firstly,we propose a dynamic graph model for solving the OBST problem and show that each instance of this problem corresponds to a one-to-all shortest path problem in this graph.Secondly,we propose a CGM parallel algorithm based on our dynamic graph to solve the OBST problem through one-to-all shortest paths in this graph.It uses our new technique of irregular partitioning of the dynamic graph to try to bring a solution to the well-known contradictory objectives of the minimization of the communication time and the load balancing of the processors in this type of graph.Our solution is based on Knuth’s sequential solution and required O(n^(2)/p)time steps per processor and[√2p]+k×([[√2p]/2]+1)communication rounds.Integer k is a parameter used in the partitioning technique of our algorithm.This new CGM algorithm performs better than the previously most efficient solution,which uses regular partitioning of the tasks graph.展开更多
We consider three random variables X_n, Y_n and Z_n, which represent the numbers of the nodes with 0, 1, and 2 children, in the binary search trees of size n. The expectation and variance of the three above random var...We consider three random variables X_n, Y_n and Z_n, which represent the numbers of the nodes with 0, 1, and 2 children, in the binary search trees of size n. The expectation and variance of the three above random variables are got, and it is also shown that X_n, Y_n and Z_n are all asymptotically normal as n→∞by applying the contraction method.展开更多
The concurrent manipulation of an expanded AVL tree (EAVL tree) is considered in this paper. The presented system can support any number of concurrent processes which perform searching, insertion and deletion on the t...The concurrent manipulation of an expanded AVL tree (EAVL tree) is considered in this paper. The presented system can support any number of concurrent processes which perform searching, insertion and deletion on the tree. Simulation results indicate the high performance of the system. Elaborate techniques are used to achieve such a system unawilable based on any known algorithms. Methods developed in this paper may provide new insights into other problems in the area of concurrent search structure manipulation.展开更多
文摘The coarse-grained multicomputer parallel model(CGM for short)has been used for solving several classes of dynamic programming problems.In this paper,we propose a parallel algorithm on the CGM model,with p processors,for solving the optimal binary search tree problem(OBST problem),which is a polyadic non-serial dynamic programming problem.Firstly,we propose a dynamic graph model for solving the OBST problem and show that each instance of this problem corresponds to a one-to-all shortest path problem in this graph.Secondly,we propose a CGM parallel algorithm based on our dynamic graph to solve the OBST problem through one-to-all shortest paths in this graph.It uses our new technique of irregular partitioning of the dynamic graph to try to bring a solution to the well-known contradictory objectives of the minimization of the communication time and the load balancing of the processors in this type of graph.Our solution is based on Knuth’s sequential solution and required O(n^(2)/p)time steps per processor and[√2p]+k×([[√2p]/2]+1)communication rounds.Integer k is a parameter used in the partitioning technique of our algorithm.This new CGM algorithm performs better than the previously most efficient solution,which uses regular partitioning of the tasks graph.
基金This work was supported by the National Natural Science Foundation of China (Grant No. 10671188)the Knowledge Innovation Program of the Chinese Academy of Sciences (Grant No. KJCX3-SYW-S02)the Special Foundation of University of Science and Technology of China
文摘We consider three random variables X_n, Y_n and Z_n, which represent the numbers of the nodes with 0, 1, and 2 children, in the binary search trees of size n. The expectation and variance of the three above random variables are got, and it is also shown that X_n, Y_n and Z_n are all asymptotically normal as n→∞by applying the contraction method.
文摘The concurrent manipulation of an expanded AVL tree (EAVL tree) is considered in this paper. The presented system can support any number of concurrent processes which perform searching, insertion and deletion on the tree. Simulation results indicate the high performance of the system. Elaborate techniques are used to achieve such a system unawilable based on any known algorithms. Methods developed in this paper may provide new insights into other problems in the area of concurrent search structure manipulation.