Found 510 Articles for Algorithms

Hilbert Tree in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 11:00:51

463 Views

Hilbert R-tree, an R-tree variant, is defined as an index for multidimensional objects such as lines, regions, 3-D objects, or high-dimensional feature-based parametric objects. It can be imagined as an extension to B+-tree for multidimensional objects.R-trees' performance depends on the quality of the algorithm that clusters the data rectangles on a node. Hilbert R-trees implement space-filling curves, and specifically the Hilbert curve, for imposing a linear ordering on the data rectangles.Hilbert R-trees are of two types: one for static databases, and one for dynamic databases. In both cases Hilbert space-filling curves are implemented to achieve better ordering of multidimensional objects ... Read More

R* Tree in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:58:06

430 Views

Basic conceptIn case of data processing, R*-trees are defined as a variant of R-trees implemented for indexing spatial information.R*-trees have slightly larger construction cost than standard R-trees, as the data may require to be reinserted; but the resulting tree will generally have a better query performance. Same as the standard R-tree, it can store both point and spatial data. Concept of R*-tree was proposed by Norbert Beckmann, Hans-Peter Kriegel, Ralf Schneider, and Bernhard Seeger in 1990.Difference between R*-trees and R-treesR*-Tree is constructed by repeated insertion. There is little (i.e. almost no) overlap in this tree, resulting in good query performance. ... Read More

Converting B-Reps to Trees in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:55:30

75 Views

1 B-rep StreamsIt is clearly stated to set up a producer process importing a B-rep, externally defined by some standard polygonal format, e.g. either a wave front or java3D obj file, into an input stream for our geometric pipeline. The boundary representation provided by polygons and normal must be coherently oriented. A filtering of the input file to cope with nonplanar polygons and other geometric inaccuracies may be required for generally archived geometric models implemented primarily in computer graphics. The output stream of coherently-oriented triangles, is then transformed into our twin progressive-BSP (Binary Search Partitioning) trees by the algorithmic steps ... Read More

BSP Trees as a Multi-Dimensional Search Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:50:45

118 Views

Spatial search structures are based on the same ideas that were invented in Computer Science during the 60's and 70's for solving the problem of quickly processing large sets of symbolic data, as opposed to geometric data, for example lists of people's names. It was invented that by first sorting a list of names according to alphabet, and storing the sorted list in an array, one can compute whether some new name is already in the list in log2n operations using a binary search algorithm, rather than n/2 expected operations required with the help of a sequential search. This is ... Read More

BSP Trees in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:48:57

1K+ Views

In computer science, a method known as binary space partitioning (BSP) is implemented for recursively subdividing a space into two convex sets by implementing hyperplanes as partitions. This process of subdividing provides rise to a representation of objects within the region in the form of a tree data structure known as a BSP tree.Binary space partitioning was invented in the context of 3D computer graphics in 1969, where the structure of a BSP tree permits for spatial information about the objects in a scene that is useful in rendering, such as objects being ordered from front-to-back with respect to a ... Read More

Compressed Quadtrees and Octrees in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:43:52

1K+ Views

Compressed QuadtreesAt the time of storing every node corresponding to a subdivided cell, we may end up storing a lot of empty nodes. Cutting down on the size of such sparse trees is possible by only storing subtrees whose leaves have interesting data (i.e. "important subtrees"). Again we can actually cut down on the size even further. When we only consider important subtrees, the pruning process may avoid long paths in the tree where the intermediate nodes have degree two (a link to one parent and one child). It turns out that we only require to store the node U ... Read More

Region Quadtrees in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:29:03

506 Views

The region quadtree is useful to represent a partition of space in two dimensions by breaking the region into four equal quadrants, subquadrants, and so on with each leaf node consisting of data corresponding to a specific subregion. Each node in the tree either is associated with exactly four children or no children (a leaf node). The height of quadtrees that follow this decomposition strategy (i.e. subdividing subquadrants until and unless there is interesting data in the subquadrant for which more refinement is required) is sensitive to and dependent on the spatial distribution of interesting areas in the space being ... Read More

Point Quadtrees in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:27:18

1K+ Views

The point quadtree is an adaptation of a binary tree implemented to represent 2-dimensional point data. Features of all quadtrees is shared by point quadtree.It is often very efficient in comparing 2-dimensional, ordered data points, usually executing in O(log n) time. Point quadtrees are valuable mentioning for completeness, but k-d trees surpass them as tools for generalized binary search.Point quadtrees are built as follows.Given the next point to insert, we compute the cell in which it lies and add it to the tree.The new point is added such that the cell that contains it is divided into quadrants by the ... Read More

Quadtrees in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:21:11

3K+ Views

Quadtrees are trees implemented to efficiently store data of points on a two-dimensional space. In this tree, each node has maximum four children.We can build a quadtree from a two-dimensional area implementing the following stepsThe current two dimensional space is divided into four boxes.If a box consists of one or more points in it, build a child object, storing in it the two dimensional space of the box.If a box does not contain any points, do not build a child for it.Perform recursion for each of the children.Quadtrees are implemented in image compression, where each node consists of the average ... Read More

Range Trees in Data Structure

Arnab Chakraborty
Updated on 08-Jan-2020 10:20:27

3K+ Views

A range tree is defined as an ordered tree data structure to hold a list of points. It permits all points within a given range to be efficiently retrieved, and is typically implemented in two or higher dimensions. It is same to a kd-tree except with faster query times of O(logd n + k) but worse storage of O(n logd-1 n), with d indicating the dimension of the space, n indicating the number of points in the tree, and k indicating the number of points retrieved for a given query. Range trees may be differentiated with interval trees: instead of ... Read More

Advertisements