173 research outputs found

    An \~{O}(n2)(n^2) Time Matrix Multiplication Algorithm

    Full text link
    We show, for the input vectors (a0,a1,...,an1)(a_0, a_1, ..., a_{n-1}) and (b0,b1,...,bn1)(b_0, b_1, ..., b_{n-1}), where aia_i's and bjb_j's are real numbers, after \~{O}(n)(n) time preprocessing for each of them, the vector multiplication (a0,a1,...,an1)(b0,b1,...,bn1)T(a_0, a_1, ..., a_{n-1})(b_0, b_1, ..., b_{n-1})^T can be computed in \~{O}(1)(1) time. This enables the matrix multiplication of two n×nn\times n matrices to be computed in \~{O}(n2)(n^2) time.Comment: Version 11 and Version 12 section 2 laid the foundation of this algorithm but has a problem unresolved. This version corrects the problem in Version 11 and Section 2 of Version 1

    Point Location in Constant Time

    Full text link
    We preprocess the input subdivision with nn points on the plane in O(nlogn)O(n\sqrt{\log n}) time to facilitate point location in constant time. Previously the preprocessing time is O(nlogn)O(n\log n) and point location takes O(logn)O(\log n) time.Comment: Sairam Chaganti is currently a senior software engineer at Southwest Airline

    Parallel Merging and Sorting on Linked List

    Get PDF
    We study linked list sorting and merging on the PRAM model. In this paper we show that n real numbers can be sorted into a linked list in constant time with n2+e processors or in ) time with n2 processors. We also show that two sorted linked lists of n integers in {0, 1, …, m}  can be merged into one sorted linked list in O(log(c)n(loglogm)1/2) time using n/(log(c)n(loglogm)1/2)  processors, where c is an arbitrarily large constant

    DISTRIBUTION OF PATH DURATION IN WIRELESS AD-HOC NETWORKS AND PATH SELECTION

    Get PDF
    The performance of routing protocols in wireless ad-hoc networks is determined by a number of factors, among which the path durations are of much importance. Path durations affect the reliability of the network service provided to the applications and the routing overhead incurred. In this dissertation, we study the distribution of path duration in wireless ad-hoc networks and its impact on routing. We focus on identifying a scheme that selects a path with the largest expected duration for data transmission when multiple paths are available between a source-destination pair. To this end, we first study the distribution of path duration. Our analytical result also reveals the relation between link level and path level statistics, which can be used to estimate expected path durations. Our main results show that in a large scale wireless ad-hoc network, as long as the local dependency among link excess lives is not too strong, the path durations can be well approximated by an exponential random variable for paths with sufficiently large hop count. Furthermore, the inverse of the expected duration of a path can be estimated using the sum of the inverses of the expected durations of the links along the path. Based on these analytical results, we propose a new path selection scheme referred to as ``Maximum Expected Duration" (MED) path selection. This scheme can be easily incorporated into existing routing protocols. Information needed for stimating the expected path duration can be collected during path discovery phase. Our simulation results demonstrate that under routing protocols with the MED path selection scheme added, the median value of the path durations can be increased up to 6060 percent compared to those without using the scheme. Moreover, we reduce the delay and overhead during local path recovery by using cached paths that are likely to be available when the primary path breaks down

    Sorting Real Numbers in Constant Time Using n^2/log^cn Processors

    Get PDF
    We study the sorting of real numbers into a linked list on the PRAM (Parallel Random-Access Machine) model. We show that n real numbers can be sorted into a linked list in constant time using n2 processors. Previously n numbers can be sorted into a linked list using n2 processors in O(loglogn) time. We also study the time processor trade-off for sorting real numbers into a linked list on the PRAM (Parallel Random Access Machine) model. We show that n real numbers can be sorted into a linked list with n2/t processors in O(logt) time. Previously n real numbers can be sorted into a linked list using n3 processors in constant time and n2 processors in O(loglogn). And then we show that input array of n real numbers  can be sorted into linked list in constant time using n2/logcn  processors for any positive constant c. We believe that further reduction on the number of processors for sorting real numbers in constant time will be very difficult if not impossible

    Investigation of wave propagation in piezoelectric helical waveguides with the spectral finite element method

    Get PDF
    The dispersion behaviors of wave propagation in waveguides of piezoelectric helical structures are investigated. By using the tensor analysis in the helical curve coordinate, the general strain − displacement relationship of piezoelectric helix is firstly considered. This paper's formulation is based on the spectral finite element which just requires the discretization of the cross-section with high-order spectral elements. The eigenvalue matrix of the dispersion relationship between wavenumbers and frequencies is obtained. Numerical examples on PZT5A and Ba2NaNb5O15 helical waveguides of a wide range of lay angles are presented. The effects of the piezoelectric on the dispersive properties and the variation tendency of dispersion curves on helix angles are shown. The mechanism of mode separation in piezoelectric helical waveguides is further analyzed through studying waves structures of the flexural modes

    Resequencing delays under multipath routing -- Asymptotics in a simple queueing model

    Get PDF
    We study the resequencing delay caused by multipath routing. We use a queueing model which consists of parallel queues to model the network routing behavior. We define a new metric denoted by gammagamma, to study the impact of resequencing on the customer end-to-end delay. Our results characterize some properties of gammagamma with respect to different service time distributions. In particular, the resequencing delay can be negligible when the delay along each path is light-tailed, but can be of major concern when it is heavy-tailed
    corecore