296 research outputs found

    Algorithms for the Problems of Length-Constrained Heaviest Segments

    Full text link
    We present algorithms for length-constrained maximum sum segment and maximum density segment problems, in particular, and the problem of finding length-constrained heaviest segments, in general, for a sequence of real numbers. Given a sequence of n real numbers and two real parameters L and U (L <= U), the maximum sum segment problem is to find a consecutive subsequence, called a segment, of length at least L and at most U such that the sum of the numbers in the subsequence is maximum. The maximum density segment problem is to find a segment of length at least L and at most U such that the density of the numbers in the subsequence is the maximum. For the first problem with non-uniform width there is an algorithm with time and space complexities in O(n). We present an algorithm with time complexity in O(n) and space complexity in O(U). For the second problem with non-uniform width there is a combinatorial solution with time complexity in O(n) and space complexity in O(U). We present a simple geometric algorithm with the same time and space complexities. We extend our algorithms to respectively solve the length-constrained k maximum sum segments problem in O(n+k) time and O(max{U, k}) space, and the length-constrained kk maximum density segments problem in O(n min{k, U-L}) time and O(U+k) space. We present extensions of our algorithms to find all the length-constrained segments having user specified sum and density in O(n+m) and O(nlog (U-L)+m) times respectively, where m is the number of output. Previously, there was no known algorithm with non-trivial result for these problems. We indicate the extensions of our algorithms to higher dimensions. All the algorithms can be extended in a straight forward way to solve the problems with non-uniform width and non-uniform weight.Comment: 21 pages, 12 figure

    Control of constraint weights for an autonomous camera

    Get PDF
    Constraint satisfaction based techniques for camera control has the flexibility to add new constraints easily to increase the quality of a shot. We address the problem of deducing and adjusting constraint weights at run time to guide the movement of the camera in an informed and controlled way in response to the requirement of the shot. This enables the control of weights at the frame level. We analyze the mathematical representation of the cost structure of the domain of constraint search so that the constraint solver can search the domain efficiently. We start with a simple tracking shot of a single target. The cost structure of the domain of search suggests the use of a binary search which searches along a curve for 2D and on a surface for 3D by utilizing the information about the cost structure. The problems of occlusion and collision avoidance have also been addressed

    ORIENTED MANIFOLDS WITH COMPACT SUPPORT AND COHOMOLOGY ALGEBRA

    Get PDF
    The cohomology of with compact supports is the graded algebra....... Keywords: Compact manifold, cohomology, graded algebra, isomorphism, bilinear map

    ORIENTATION OF MANIFOLDS AND SMOOTH FIBRE BUNDLES

    Get PDF
    For a smooth fibre bundle ......More details can be found in the full paper. Keywords: Smooth fibre bundle, manifold, vector bundle, bundle isomorphism, bundle orientation, graded subalgebra

    Determinants of Male Internal Migration in Bangladesh: Is Due to Services Matter?

    Get PDF
    Migration is a common process where people move rural to urban area for better livelihood. The aim of this study is exploring the factors of rural to urban migration in Bangladesh. A cross-sectional study was conducted in Sylhet City Corporation and 120 migrants were selected through two stage cluster sampling technique. Social survey method was used to collect the data from the respondents. Binary logistic regression was applied to determine the factors related to male migration due to services. The results show that level of education is positively associated with male migration due to services. The results also show that income, occupation before migration, family types also effects cause of migration due to services. Keywords: Rural-urban migration, Determinants, Migration status, Banglades

    Energy savings using an adaptive base station-to-relay station switching paradigm

    Get PDF
    Applying a Base Station (BS) sleep approach during low traffic periods has recently been advocated as a strategy for reducing energy consumption in cellular networks. The complete switching off of certain BS however, can lead to coverage holes and severe performance degradation in terms of off-cell user throughput, greater transmit power dissipation in both the up and downlinks, and more complex interference management. This paper presents a novel cellular network energy saving model in which certain BS rather being turned off are switched to Relay Station (RS) mode during low traffic periods. The switched RS and other shared RS deployed at the cross border of each cell are responsible for upholding the same quality of service (QoS) provision as when all BS are active. A centralised adaptive switching threshold algorithm is also introduced to undertake the switching decision, instead of using a fixed threshold. Simulation results confirm the new BS-RS Switching model using an adaptive threshold can reduce network energy consumption by more than half, as well as improving off-cell users’ throughput
    corecore