258 results on '"Self-balancing binary search tree"'
Search Results
2. A NON-UNIFORM BOUND ON POISSON APPROXIMATION OF THE NUMBER OF SUBTREES OF SIZE k IN A RANDOM BINARY SEARCH TREE T_n
- Author
-
Angkana Boonyued and Adchara Kumla
- Subjects
Combinatorics ,Discrete mathematics ,symbols.namesake ,Binary search tree ,General Mathematics ,symbols ,Poisson distribution ,Self-balancing binary search tree ,Random binary tree ,Mathematics ,Treap - Published
- 2016
- Full Text
- View/download PDF
3. The Impact of Communication Patterns on Distributed Self-Adjusting Binary Search Tree
- Author
-
Thim Strothmann
- Subjects
Theoretical computer science ,General Computer Science ,Computer science ,Splay tree ,Random binary tree ,Computer Science Applications ,Theoretical Computer Science ,Treap ,Tree (data structure) ,Tree traversal ,Computational Theory and Mathematics ,Binary search tree ,Ternary search tree ,Geometry and Topology ,Self-balancing binary search tree - Abstract
This paper introduces the problem of communication pattern adaption for a distributed self-adjusting binary search tree. We propose a simple local algorithm that is closely related to the over thirty-year-old idea of splay trees and evaluate its adaption performance in the distributed scenario if different communication patterns are provided. To do so, the process of self-adjustment is modeled similarly to a basic network creation game in which the nodes want to communicate with only a certain subset of all nodes. We show that, in general, the game (i.e., the process of local adjustments) does not converge, and that convergence is related to certain structures of the communication interests, which we call conflicts. We classify conflicts and show that for two communication scenarios in which convergence is guaranteed, the self-adjusting tree performs well. Furthermore, we investigate the different classes of conflicts separately and show that, for a certain class of conflicts, the performance of the tree network is asymptotically as good as the performance for converging instances. However, for the other conflict classes, a distributed self-adjusting binary search tree adapts poorly.
- Published
- 2016
- Full Text
- View/download PDF
4. Cache-Sensitive Memory Layout for Dynamic Binary Trees
- Author
-
Eljas Soisalon-Soininen and Riku Saikkonen
- Subjects
ta113 ,Red–black tree ,Theoretical computer science ,Binary tree ,General Computer Science ,Computer science ,Optimal binary search tree ,Binary search trees ,020207 software engineering ,experiments ,02 engineering and technology ,Random binary tree ,k-d tree ,cache-conscious data structures ,Binary search tree ,020204 information systems ,Ternary search tree ,0202 electrical engineering, electronic engineering, information engineering ,Self-balancing binary search tree - Published
- 2015
- Full Text
- View/download PDF
5. Binary tree optimization using genetic algorithm for multiclass support vector machine
- Author
-
Young-Joo Lee and Jeongjin Lee
- Subjects
Binary tree ,business.industry ,Optimal binary search tree ,General Engineering ,Pattern recognition ,Random binary tree ,Computer Science Applications ,Treap ,Tree traversal ,Tree structure ,Artificial Intelligence ,Artificial intelligence ,business ,Self-balancing binary search tree ,Order statistic tree ,Mathematics - Abstract
A novel method is proposed to design an optimal binary tree using genetic algorithm.Our method is the first one for the global optimization of a binary tree.The results demonstrated that the classification accuracy of our method was improved. Support vector machine (SVM) with a binary tree architecture is popular since it requires the minimum number of binary SVM to be trained and tested. Many efforts have been made to design the optimal binary tree architecture. However, these methods usually construct a binary tree by a greedy search. They sequentially decompose classes into two groups so that they consider only local optimum at each node. Although genetic algorithm (GA) has been recently introduced in multiclass SVM for the local partitioning of the binary tree structure, the global optimization of a binary tree structure has not been tried yet. In this paper, we propose a global optimization method of a binary tree structure using GA to improve the classification accuracy of multiclass problem for SVM. Unlike previous researches on multiclass SVM using binary tree structures, our approach globally finds the optimal binary tree structure. For the efficient utilization of GA, we propose an enhanced crossover strategy to include the determination method of crossover points and the generation method of offsprings to preserve the maximum information of a parent tree structure. Experimental results showed that the proposed method provided higher accuracy than any other competing methods in 11 out of 18 datasets used as benchmark, within an appropriate time. The performance of our method for small size problems is comparable with other competing methods while more sensible improvements of the classification accuracy are obtained for the medium and large size problems.
- Published
- 2015
- Full Text
- View/download PDF
6. Enhancement of HCB Tree for Improving Retrieval Performance and Dynamic Environments
- Author
-
Sung Wan Kim
- Subjects
Red–black tree ,Fractal tree index ,K-ary tree ,AVL tree ,General Computer Science ,Computer science ,Optimal binary search tree ,X-fast trie ,Interval tree ,Random binary tree ,Search tree ,Treap ,Threaded binary tree ,Trie ,Ternary search tree ,Data_FILES ,Binary expression tree ,Self-balancing binary search tree ,Algorithm ,Order statistic tree - Abstract
CB tree represents the binary trie by a compact binary sequence. However, retrieval time grows fast since the more keys stored in the trie, longer the binary sequences are. In addition it is inefficient for frequent key insertion/deletion. HCB tree is a hierarchical CB tree consisting of small binary tries. However it can not avoid shift operations and have to scan an additional table to refer child or parent trie. In order to improve retrieval performance and avoid shift operations when keys are inserted or deleted, we in this paper represent each separated trie by a full binary trie and then assign the unique identifier to it. Finally the theoretical evaluations show that both the proposed approach and HCB tree provides better than CB tree for key retrieval. The proposed approach shows the highest performance in case of key insertion/deletion and moreover requires only 71%~89% of storage as compared with CB tree.
- Published
- 2015
- Full Text
- View/download PDF
7. The Locating-Chromatic Number of Binary Trees
- Author
-
Edy Tri Baskoro, Hilda Assiyatun, and Dian Kastika Syofyan
- Subjects
K-ary tree ,Computer science ,Branch-decomposition ,Tree-depth ,Random binary tree ,Combinatorics ,Cardinality ,Computer Science::Discrete Mathematics ,Graph power ,Binary expression tree ,Graph toughness ,Self-balancing binary search tree ,Connectivity ,Color code ,General Environmental Science ,Minimum degree spanning tree ,binary tree ,Mathematics::Combinatorics ,Trémaux tree ,Spanning tree ,Binary tree ,Degree (graph theory) ,Shortest-path tree ,Neighbourhood (graph theory) ,Tree (graph theory) ,Graph ,Vertex (geometry) ,tree graph ,locating-chromatic number ,Cycle graph ,General Earth and Planetary Sciences ,Bound graph ,Fractional coloring - Abstract
Let G = ( V , E ) be a connected graph. The locating-chromatic number of G , denoted by χ L ( G ), is the cardinality of a minimum locating coloring of the vertex set V ( G ) such that all vertices have distinct coordinates. The results on locating-chromatic number of graphs are still limited. In particular, the locating-chromatic number of trees is not completely solved. Therefore, in this paper, we study the locating-chromatic number of any binary tree.
- Published
- 2015
- Full Text
- View/download PDF
8. An Algorithm of Binary Tree Encoding with Minimum Redundancy
- Subjects
Binary tree ,Computer science ,Optimal binary search tree ,Binary expression tree ,Truncated binary encoding ,Interval tree ,Self-balancing binary search tree ,Algorithm ,Random binary tree ,Cartesian tree - Published
- 2017
- Full Text
- View/download PDF
9. The Analysis on Recursive Algorithm Implementation of Preorder-Traversing Binary Tree
- Author
-
Yu Cheng Song and Shao Li Jin
- Subjects
Red–black tree ,Tree rotation ,Fractal tree index ,K-ary tree ,Binary tree ,Theoretical computer science ,Computer science ,Optimal binary search tree ,General Medicine ,Interval tree ,Cartesian tree ,Random binary tree ,Treap ,Threaded binary tree ,Tree (data structure) ,Tree traversal ,Binary search tree ,TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS ,Binary expression tree ,Dichotomic search ,Algorithm ,Self-balancing binary search tree ,Order statistic tree - Abstract
Traversing binary tree is an important algorithm in data structure. This paper analyses and discusses the recursive algorithm implementation of preorder-traversing binary tree through instance. It would contribute beginners to understand more deeply the process of preorder-traversing and enhance their programming.
- Published
- 2014
- Full Text
- View/download PDF
10. Topology Inference With Network Tomography Based on t-Test
- Author
-
Xiaotian Li, Runsheng Zhang, and Yanbin Li
- Subjects
Binary tree ,Theoretical computer science ,Optimal binary search tree ,Hypertree network ,Interval tree ,Random binary tree ,Computer Science Applications ,Tree (data structure) ,Modeling and Simulation ,Binary expression tree ,Electrical and Electronic Engineering ,Algorithm ,Self-balancing binary search tree ,Mathematics - Abstract
Network tomography is a promising inference technique for network topology from end-to-end measurements. In this letter, we propose a novel binary tree pruning algorithm based on t-test to infer the network topology. A binary tree topology is first inferred using the existing Agglomerative Likelihood Tree (ALT) method, and then two samples t-test is applied to prune the binary tree, thus a general tree corresponding to the real topology is obtained. A lower bound on the correctly identified probability of the proposed method is derived. Simulation results show that the pruning method based on t-test outperforms the method which prunes the binary tree using a fixed threshold.
- Published
- 2014
- Full Text
- View/download PDF
11. A Universal Grammar-Based Code for Lossless Compression of Binary Trees
- Author
-
En-hui Yang, John C. Kieffer, and Jie Zhang
- Subjects
FOS: Computer and information sciences ,Red–black tree ,Computer science ,Computer Science - Information Theory ,Data_CODINGANDINFORMATIONTHEORY ,0102 computer and information sciences ,02 engineering and technology ,Library and Information Sciences ,01 natural sciences ,Random binary tree ,Treap ,Grammar-based code ,0202 electrical engineering, electronic engineering, information engineering ,Binary expression tree ,Self-balancing binary search tree ,Computer Science::Information Theory ,Chain code ,Binary tree ,Information Theory (cs.IT) ,Computer Science::Computation and Language (Computational Linguistics and Natural Language and Speech Processing) ,020206 networking & telecommunications ,Context-free grammar ,Computer Science Applications ,Threaded binary tree ,Tree traversal ,Universal code ,010201 computation theory & mathematics ,Binary search tree ,Binary code ,Algorithm ,Order statistic tree ,Information Systems - Abstract
We consider the problem of lossless compression of binary trees, with the aim of reducing the number of code bits needed to store or transmit such trees. A lossless grammar-based code is presented, which encodes each binary tree into a binary codeword in two steps. In the first step, the tree is transformed into a context-free grammar from which the tree can be reconstructed. In the second step, the context-free grammar is encoded into a binary codeword. The decoder of the grammar-based code decodes the original tree from its codeword by reversing the two encoding steps. It is shown that the resulting grammar-based binary tree compression code is a universal code on a family of probabilistic binary tree source models satisfying certain weak restrictions.
- Published
- 2014
- Full Text
- View/download PDF
12. k -Protected vertices in binary search trees
- Author
-
Miklós Bóna
- Subjects
Discrete mathematics ,Red–black tree ,Applied Mathematics ,Optimal binary search tree ,Weight-balanced tree ,Random binary tree ,Vertex (geometry) ,Combinatorics ,05A15, 05A16 ,Binary search tree ,Ternary search tree ,FOS: Mathematics ,Mathematics - Combinatorics ,Combinatorics (math.CO) ,Self-balancing binary search tree ,Mathematics - Abstract
We show that for every $k$, the probability that a randomly selected vertex of a random binary search tree on $n$ nodes is at distance $k-1$ from the closest leaf converges to a rational constant $c_k$ as $n$ goes to infinity., 12 pages 1 figure
- Published
- 2014
- Full Text
- View/download PDF
13. Hierarchical soft clustering tree for fast approximate search of binary codes
- Author
-
Hyun Suk Yang, Seong-Wook Choi, and S.H. Lee
- Subjects
Tree traversal ,k-d tree ,Theoretical computer science ,Optimal binary search tree ,Ternary search tree ,Electrical and Electronic Engineering ,Interval tree ,Self-balancing binary search tree ,Random binary tree ,Mathematics ,Hierarchical clustering - Abstract
Binary codes play an important role in many computer vision applications. They require less storage space while allowing efficient computations. However, a linear search to find the best matches among binary data creates a bottleneck for large-scale datasets. Among the approximation methods used to solve this problem, the hierarchical clustering tree (HCT) method is a state-of the-art method. However, the HCT performs a hard assignment of each data point to only one cluster, which leads to a quantisation error and degrades the search performance. As a solution to this problem, an algorithm to create hierarchical soft clustering tree (HSCT) by assigning a data point to multiple nearby clusters in the Hamming space is proposed. Through experiments, the HSCT is shown to outperform other existing methods.
- Published
- 2015
- Full Text
- View/download PDF
14. A New Optimal Binary Tree SVM Multi-Class Classification Algorithm
- Author
-
Shu Xian Lun, Yi Wang, Yu Ping Qin, and Pengda Qin
- Subjects
Binary tree ,business.industry ,Node (networking) ,Pattern recognition ,General Medicine ,Interval tree ,Random binary tree ,Treap ,Multiclass classification ,Support vector machine ,ComputingMethodologies_PATTERNRECOGNITION ,Artificial intelligence ,business ,Self-balancing binary search tree ,Algorithm ,Mathematics - Abstract
A improved binary tree SVM multi-class classification algorithm is proposed. Firstly, constructing the minimum hyper ellipsoid for each class sample in the feather space, and then generating optimal binary tree according to the hyper ellipsoid volume, training sub-classifier for every non-leaf node in the binary tree at the same time. For the sample to be classified, the sub-classifiers are used from the root node until one leaf node, and the corresponding class of the leaf node is the class of the sample. The experiments are done on the Statlog database, and the experimental results show that the algorithm improves classification precision and classification speed, especially in the situation that the number of class are more and their distribution area are equal approximately, the algorithm can greatly improve the classification precision and classification speed.
- Published
- 2013
- Full Text
- View/download PDF
15. On the Construction of Binary Sequence Families With Low Correlation and Large Sizes
- Author
-
Udaya Parampalli, Serdar Boztas, and Xiaohu Tang
- Subjects
Discrete mathematics ,Polynomial ,Code division multiple access ,Binary number ,Binary pattern ,Library and Information Sciences ,Pseudorandom binary sequence ,Electronic mail ,Random binary tree ,Computer Science Applications ,Binary fields ,Combinatorics ,Complementary sequences ,Most significant bit ,Binary code ,Low correlation ,Arithmetic ,Self-balancing binary search tree ,Algorithm ,Information Systems ,Mathematics - Abstract
In this paper, we revisit a method to produce binary sequences using the most significant bit map from Z4 to the binary field. This method is useful for the construction of binary sequences with low correlation and large family size. There may be more cases where starting with Z4 could help researchers design new low correlation sequences for code-division multiple access application.
- Published
- 2013
- Full Text
- View/download PDF
16. A Concurrency-Optimal Binary Search Tree
- Author
-
Vitaly Aksenov, Vincent Gramoli, Petr Kuznetsov, Anna Malova, and Srivatsan Ravi
- Subjects
Red–black tree ,K-ary tree ,Theoretical computer science ,Computer science ,Optimal binary search tree ,02 engineering and technology ,Interval tree ,01 natural sciences ,Random binary tree ,Treap ,0103 physical sciences ,0202 electrical engineering, electronic engineering, information engineering ,Stern–Brocot tree ,Binary expression tree ,Dichotomic search ,Self-balancing binary search tree ,010302 applied physics ,Binary tree ,020207 software engineering ,Scapegoat tree ,Cartesian tree ,Search tree ,Threaded binary tree ,k-d tree ,Tree traversal ,Binary search tree ,Ternary search tree ,Order statistic tree - Abstract
The paper presents the first concurrency-optimal implementation of a binary search tree (BST). The implementation, based on a standard sequential implementation of a partially-external tree, ensures that every schedule, i.e., interleaving of steps of the sequential code, is accepted unless linearizability is violated. To ensure this property, we use a novel read-write locking protocol that protects tree edges in addition to its nodes.
- Published
- 2017
- Full Text
- View/download PDF
17. Binary Tree Based Deterministic Positive Selection Approach to Network Security
- Author
-
Piotr Hońko
- Subjects
Binary tree ,Physics::Instrumentation and Detectors ,Computer science ,Network security ,business.industry ,Probabilistic logic ,computer.software_genre ,Random binary tree ,Treap ,Tree traversal ,Data mining ,business ,Self-balancing binary search tree ,computer ,Order statistic tree - Abstract
Positive selection is one of artificial immune approaches, which finds application in network security. It relies on building detectors for protecting self cells, i.e. positive class objects. Random selection used to find candidates for detectors gives good results if the data is represented in a non-multidimensional space. For a higher dimension many attempts may be needed to find a detector. In an extreme case, the approach may fail due to not building any detector. This paper proposes an improved version of the positive selection approach. Detectors are constructed based on self cells in a deterministic way and they are stored in a binary tree structure. Thanks to this, each cell is protected by at least one detector regardless of the data dimension and size. Results of experiments conducted on network intrusion data (KDD Cup 1999 Data) and other datasets show that the proposed approach produces detectors of similar or better quality in a considerably shorter time compared with the probabilistic version. Furthermore, the number of detectors needed to cover the whole self space can be clearly smaller.
- Published
- 2017
- Full Text
- View/download PDF
18. F-recursive binary tree
- Author
-
Xiaoqing Jiang, Jintong Li, Yuying Li, and Wen Tang
- Subjects
060201 languages & linguistics ,Binary tree ,Computer science ,Optimal binary search tree ,06 humanities and the arts ,Cartesian tree ,Random binary tree ,Threaded binary tree ,Treap ,Tree traversal ,Binary search tree ,0602 languages and literature ,Ternary search tree ,Binary expression tree ,Self-balancing binary search tree ,Algorithm ,Order statistic tree - Abstract
P-sets consists of an internal P-set XF and an outer P-set XF and has dynamic characteristics, which result from the internal dynamic characteristics on XF and the outer dynamic characteristics on XF. In order to extend the application of the P-sets, the paper proposes an F-recursive binary tree through applying the dynamic characteristics for the P-set XF. Meanwhile, the paper provides the structures and characteristics for the F-recursive binary tree, including some properties and theorems about the F-recursive binary tree. The paper also gives the method of constructing F-recursive binary tree. The F-recursive binary tree has inward contraction characteristics and recursive characteristics. It can be used many research fields, such as information science and technology, artificial intelligence, knowledge discovery, as well as control theory and control engineering.
- Published
- 2016
- Full Text
- View/download PDF
19. Improving efficacy of internal binary search trees using local recovery
- Author
-
Arunmoezhi Ramachandran and Neeraj Mittal
- Subjects
Red–black tree ,Fractal tree index ,020203 distributed computing ,Theoretical computer science ,Computer science ,Optimal binary search tree ,020207 software engineering ,02 engineering and technology ,Interval tree ,Computer Graphics and Computer-Aided Design ,Random binary tree ,Search tree ,Cartesian tree ,Threaded binary tree ,Treap ,Tree traversal ,Binary search tree ,Ternary search tree ,0202 electrical engineering, electronic engineering, information engineering ,Self-balancing binary search tree ,Algorithm ,Software ,Order statistic tree - Abstract
Binary Search Tree (BST) is an important data structure for managing ordered data. Many algorithms---blocking as well as non-blocking---have been proposed for concurrent manipulation of a binary search tree in an asynchronous shared memory system that supports search, insert and delete operations based on both external and internal representations of a search tree. An important step in executing an operation on a tree is to traverse the tree from top-to-down in order to locate the operation's window. A process may need to perform this traversal several times to handle any failures occurring due to other processes performing conflicting actions on the tree. Most concurrent algorithms that have proposed so far use a naïve approach and simply restart the traversal from the root of the tree. In this work, we present a new approach to recover from such failures more efficiently in a concurrent binary search tree based on internal representation using local recovery by restarting the traversal from the "middle" of the tree in order to locate an operation's window. Our approach is sufficiently general in the sense that it can be applied to a variety of concurrent binary search trees based on both blocking and non-blocking approaches. Using experimental evaluation, we demonstrate that our local recovery approach can yield significant speed-ups of up to 69% for many concurrent algorithms.
- Published
- 2016
- Full Text
- View/download PDF
20. Optimal distortion embedding of complete binary trees into lines
- Author
-
Masao Kumamoto and Eiji Miyano
- Subjects
Discrete mathematics ,Binary tree ,Upper and lower bounds ,Random binary tree ,Computer Science Applications ,Theoretical Computer Science ,Combinatorics ,Distortion (mathematics) ,Tree traversal ,Signal Processing ,Line (geometry) ,Embedding ,Self-balancing binary search tree ,Information Systems ,Mathematics - Abstract
We study the problem of embedding an unweighted complete binary tree into a line with low distortion. Very recently, Mathieu and Papamanthou (2008) [9] showed that the inorder traversal of the complete binary tree of height h gives a line embedding of distortion O(2^h), and conjectured that the current lower bound of @W(2^hh) increases to @W(2^h), i.e., the upper bound of O(2^h) is best possible. In this paper, we disprove their conjecture by providing a line embedding of the complete binary tree of height h with optimal distortion @Q(2^hh).
- Published
- 2012
- Full Text
- View/download PDF
21. Binary Sort Tree Visualization Demonstration System Design and Realization
- Author
-
Bang Ze Chen and Xiao Bo Yang
- Subjects
Red–black tree ,Fractal tree index ,Binary search algorithm ,Binary tree ,Theoretical computer science ,Computer science ,Optimal binary search tree ,General Engineering ,Sorting ,T-tree ,Interval tree ,Tree sort ,Random binary tree ,Cartesian tree ,Treap ,Threaded binary tree ,Tree traversal ,Binary search tree ,Binary expression tree ,Self-balancing binary search tree ,Algorithm ,Order statistic tree - Abstract
Binary sort tree is a special binary tree, can be used for sorting and searching area, realize the visualization has important significance. In this paper ,it is realized the visualization of binary sort tree by using object-oriented method and the features of complete binary tree, solve some problems when the method achieved.
- Published
- 2012
- Full Text
- View/download PDF
22. Modified Non-Recursive Algorithm for Reconstructing a Binary Tree
- Author
-
Vivek Kumar Tamta, Suresh Kumar, and Nitin Arora
- Subjects
Tree rotation ,Red–black tree ,Fractal tree index ,Theoretical computer science ,Binary tree ,K-ary tree ,Computer science ,Optimal binary search tree ,Segment tree ,Interval tree ,Cartesian tree ,Search tree ,Random binary tree ,Threaded binary tree ,Treap ,Range tree ,Tree traversal ,Binary search tree ,Binary expression tree ,Self-balancing binary search tree ,Algorithm ,Order statistic tree ,Left-child right-sibling binary tree - Abstract
tree traversal refers to the process of visiting each node in a specified order. Given the inorder traversal of a binary tree, along with one of its preorder or postorder traversals, the original binary tree can be uniquely identified. Many recursive and non recursive method of construction of the tree from inorder and any of the postorder or preorder traversal have been proposed. In this paper one of the proposed algorithms has been examined. This algorithm computes the wrong tree for some input sequences. We show a particular situation in which the algorithm fails and a solution for this situation is proposed. The proposed a modified non-recursive algorithm for reconstructing a binary tree which generates the correct tree otherwise an error has been reported.
- Published
- 2012
- Full Text
- View/download PDF
23. Partitioning technique for transforming perfect binary trees into single-row networks
- Author
-
Shaharuddin Salleh, Ser Lee Loh, and Nor Haniza Sarmin
- Subjects
Binary tree ,K-ary tree ,Applied Mathematics ,Optimal binary search tree ,General Engineering ,Interval tree ,Self-balancing binary search tree ,Algorithm ,Random binary tree ,Threaded binary tree ,Left-child right-sibling binary tree ,Mathematics - Abstract
Many problems in science and engineering can be simplified into the form of a perfect binary tree. This paper discusses our study entitled Perfect Binary Tree Sequence (PBTS) which transforms a perfect binary tree into the single-row network. The transformation is necessary in applications such as in the assignment of telephone channels to caller–receiver pairs roaming in cells in a cellular network on real-time basis. In this application, each caller and receiver in a call forms a node, while their pair connection forms the edge. A specific case of the graph in the form of a binary tree is then transformed into its corresponding single-row network for assigning the channels to the caller–receiver pairs. PBTS starts with the formation of the spine from a perfect binary tree through the insertion mechanism, and this leads to the expansion of the spine into one or more zones in the single-row network. This is followed by the formation of terminals and intervals for optimal transformation into the nets of the single-row network using our earlier method called ESSR. The numerical experiment results support our hypothesis that PBTS transforms the tree into its single-row network efficiently.
- Published
- 2012
- Full Text
- View/download PDF
24. Reliability Evaluation for Binary Directed Tree-Structured Systems Based on Terminal Failure Limit-Value
- Author
-
Wei Chen and Peng Liu
- Subjects
Tree (data structure) ,Tree traversal ,Binary tree ,Optimal binary search tree ,Binary expression tree ,General Medicine ,Self-balancing binary search tree ,Algorithm ,Random binary tree ,Treap ,Mathematics - Abstract
This paper evaluates reliability of binary directed tree-structured systems based on terminal failure limit-value. For the difficult problem with complex structures and directed transitive relation, the paper describes nodes in the tree system using set algebra, and uses set operations to compute a combinational mode of failed nodes, and then describes it with family of sets. On that basis, an effective algorithm is shown, and a numerical example is given to illustrate the algorithm obtained in the paper.
- Published
- 2011
- Full Text
- View/download PDF
25. A primogenitary linked quad tree approach for solution storage and retrieval in heuristic binary optimization
- Author
-
Minghe Sun
- Subjects
Information Systems and Management ,Theoretical computer science ,Optimization problem ,General Computer Science ,Heuristic (computer science) ,CPU time ,Management Science and Operations Research ,Industrial and Manufacturing Engineering ,Random binary tree ,Modeling and Simulation ,Combinatorial optimization ,Quadtree ,Algorithm ,Self-balancing binary search tree ,Integer (computer science) ,Mathematics - Abstract
A data structure, called the primogenitary linked quad tree (PLQT), is used to store and retrieve solutions in heuristic solution procedures for binary optimization problems. Two ways are proposed to use integer vectors to represent solutions represented by binary vectors. One way is to encode binary vectors into integer vectors in a much lower dimension and the other is to use the sorted indices of binary variables with values equal to 0 or equal to 1. The integer vectors are used as composite keys to store and retrieve solutions in the PLQT. An algorithm processing trial solutions for insertion into or retrieval from the PLQT is developed. Examples are provided to demonstrate the way the algorithm works. Another algorithm traversing the PLQT is also developed. Computational results show that the PLQT approach takes only a very tiny portion of the CPU time taken by a linear list approach for the same purpose for any reasonable application. The CPU time taken by the PLQT managing trial solutions is negligible as compared to that taken by a heuristic procedure for any reasonably hard to solve binary optimization problem, as shown in a tabu search heuristic procedure for the capacitated facility location problem. Compared to the hashing approach, the PLQT approach takes the same or less amount of CPU time but much less memory space while completely eliminating collision.
- Published
- 2011
- Full Text
- View/download PDF
26. The full binary tree cannot be interpreted in a chain
- Author
-
Alexander Rabinovich
- Subjects
Discrete mathematics ,Binary tree ,K-ary tree ,Logic ,Random binary tree ,Treap ,Combinatorics ,Philosophy ,Computer Science::Logic in Computer Science ,Mathematics::Category Theory ,Stern–Brocot tree ,Computer Science::Symbolic Computation ,Binary expression tree ,Self-balancing binary search tree ,Computer Science::Distributed, Parallel, and Cluster Computing ,Order statistic tree ,Mathematics - Abstract
We show that for no chain C there is a monadic-second order interpretation of the full binary tree in C.
- Published
- 2010
- Full Text
- View/download PDF
27. Online shape learning using binary search trees
- Author
-
Anastasios Tefas, Ioannis Pitas, and Nikolaos Tsapanos
- Subjects
Red–black tree ,Binary tree ,Computer science ,Optimal binary search tree ,020206 networking & telecommunications ,02 engineering and technology ,Interval tree ,computer.software_genre ,Random binary tree ,Tree traversal ,Signal Processing ,Ternary search tree ,0202 electrical engineering, electronic engineering, information engineering ,020201 artificial intelligence & image processing ,Computer Vision and Pattern Recognition ,Data mining ,Self-balancing binary search tree ,computer - Abstract
In this paper we propose an online shape learning algorithm based on the self-balancing binary search tree data structure for the storage and retrieval of shape templates. This structure can also be used for classification purposes. We introduce a similarity measure with which we can make decisions on how to traverse the tree and even backtrack through the search path to find more candidate matches. Then we describe every basic operation a binary search tree can perform adapted to such a tree of shapes. Note that as a property of binary search trees, all operations can be performed in O(logn) time and are very efficient. Finally, we present experimental data evaluating the performance of the proposed algorithm and demonstrating the suitability of this data structure for the purpose it was designed to serve.
- Published
- 2010
- Full Text
- View/download PDF
28. Random Records and Cuttings in Binary Search Trees
- Author
-
Cecilia Holmgren
- Subjects
Statistics and Probability ,Discrete mathematics ,K-ary tree ,Binary tree ,Applied Mathematics ,Optimal binary search tree ,Interval tree ,Random binary tree ,Theoretical Computer Science ,Treap ,Combinatorics ,Computational Theory and Mathematics ,Stern–Brocot tree ,Self-balancing binary search tree ,Mathematics - Abstract
We study the number of random records in a binary search tree with n vertices (or equivalently, the number of cuttings required to eliminate the tree). We show that a classical limit theorem for convergence of sums of triangular arrays to infinitely divisible distributions can be used to determine the distribution of this number. The asymptotic distribution of the (normalized) number of records or cuts is found to be weakly 1-stable.
- Published
- 2010
- Full Text
- View/download PDF
29. Randomness Preserving Deletions on Special Binary Search Trees
- Author
-
Michaela Heyer
- Subjects
Red–black tree ,Randomness Preservation ,Binary tree ,AVL tree ,Theoretical computer science ,General Computer Science ,Optimal binary search tree ,Knott's Paradox ,Random binary tree ,Binary Search Trees ,Theoretical Computer Science ,Binary search tree ,Ternary search tree ,Self-balancing binary search tree ,Algorithm ,Computer Science(all) ,Mathematics - Abstract
Deletions in binary search trees are difficult to analyse as they are not randomness preserving. We will present a new kind of tree which differs slightly from the standard binary search tree. It will be referred to as an ordered binary search tree as it stores a history element in its nodes, which provides information about the order in which the nodes were inserted. Using this extra information it is possible to design a new randomness preserving and order preserving deletion algorithm.
- Published
- 2009
- Full Text
- View/download PDF
30. Improved Binary Space Partition merging
- Author
-
Roshan M. D'Souza, Ching-Kuan Shene, and Mikola Lysenko
- Subjects
Mathematical optimization ,Binary tree ,Binary decision diagram ,Optimal binary search tree ,Computer Graphics and Computer-Aided Design ,Industrial and Manufacturing Engineering ,Random binary tree ,Computer Science Applications ,Binary space partitioning ,Threaded binary tree ,Binary expression tree ,Self-balancing binary search tree ,Algorithm ,Mathematics - Abstract
This paper presents a new method for evaluating boolean set operations between Binary Space Partition (BSP) trees. Our algorithm has many desirable features, including both numerical robustness and O(n) output sensitive time complexity, while simultaneously admitting a straightforward implementation. To achieve these properties, we present two key algorithmic improvements. The first is a method for eliminating null regions within a BSP tree using linear programming. This replaces previous techniques based on polygon cutting and tree splitting. The second is an improved method for compressing BSP trees based on a similar approach within binary decision diagrams. The performance of the new method is analyzed both theoretically and experimentally. Given the importance of boolean set operations, our algorithms can be directly applied to many problems in graphics, CAD and computational geometry.
- Published
- 2008
- Full Text
- View/download PDF
31. Binary tree data structure based on sequential storage model in DNA computer
- Author
-
Ya-li Zhu
- Subjects
Red–black tree ,Tree traversal ,Binary tree ,Computer science ,T-tree ,Binary expression tree ,Algorithm ,Self-balancing binary search tree ,Random binary tree ,Threaded binary tree - Published
- 2008
- Full Text
- View/download PDF
32. Limiting theorems for the nodes in binary search trees
- Author
-
Su Chun, Chen Yu, and Jie Liu
- Subjects
Combinatorics ,Discrete mathematics ,Law of large numbers ,Binary search tree ,General Mathematics ,Stern–Brocot tree ,Binary expression tree ,Exponential tree ,Self-balancing binary search tree ,Random binary tree ,Mathematics ,Treap - Abstract
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.
- Published
- 2008
- Full Text
- View/download PDF
33. Binary tree-based low power state assignment algorithm
- Author
-
Krzysztof Kajstura and Dariusz Kania
- Subjects
Red–black tree ,Tree traversal ,Binary tree ,Computer science ,Optimal binary search tree ,Self-balancing binary search tree ,Algorithm ,Random binary tree ,Order statistic tree ,Treap - Published
- 2016
- Full Text
- View/download PDF
34. A Case Study on Algorithm Discovery from Proofs: The Insert Function on Binary Trees
- Author
-
Tudor Jebelean, Isabela Dramnesc, Sorin Stratulat, and Stratulat, Sorin
- Subjects
Binary tree ,Computer science ,[INFO.INFO-SC] Computer Science [cs]/Symbolic Computation [cs.SC] ,Weight-balanced tree ,0102 computer and information sciences ,02 engineering and technology ,01 natural sciences ,Random binary tree ,Threaded binary tree ,010201 computation theory & mathematics ,Geometry of binary search trees ,Binary search tree ,0202 electrical engineering, electronic engineering, information engineering ,020201 artificial intelligence & image processing ,Binary expression tree ,Algorithm ,Self-balancing binary search tree - Abstract
We present a proof–based automatic synthesis experiment in the context of sorting binary trees, namely the synthesis of the function which inserts an element in a sorted binary tree at the appropriate place. The algorithm is automatically extracted from the automatically produced proof of the conjecture which expresses the existence of the desired output for each appropriate input of the function.This is a case study with the purpose of finding and illustrating general and domain specific inference rules and strategies for efficiently producing proofs from which the desired algorithms can be extracted.The construction of the necessary theory, of the provers, and the experiment itself are performed in the Theorema system.
- Published
- 2016
35. Average-case analysis of QuickSort and Binary Insertion Tree height using incompressibility
- Author
-
Brendan Lucier, Tao Jiang, and Ming Li
- Subjects
Red–black tree ,AVL tree ,Binary tree ,Random binary tree ,Computer Science Applications ,Theoretical Computer Science ,Combinatorics ,Signal Processing ,Data_FILES ,Binary expression tree ,Self-balancing binary search tree ,Quicksort ,Order statistic tree ,Information Systems ,Mathematics - Abstract
We study the Kolmogorov complexity of a Binary Insertion Tree, and present a succinct encoding scheme for Binary Insertion Trees produced from incompressible permutations. Based on the encoding scheme, we obtain a simple incompressibility argument that yields an asymptotic analysis of the average height of a Binary Insertion Tree. This argument further implies that the QuickSort algorithm sorts a permutation of n elements in @Q(nlgn) comparisons on average.
- Published
- 2007
- Full Text
- View/download PDF
36. A structured hierarchical P2P model based on a rigorous binary tree code algorithm
- Author
-
Ping Luo, Zhifeng Zeng, and Hongjun Liu
- Subjects
Binary tree ,Theoretical computer science ,Computer Networks and Communications ,Hardware and Architecture ,Computer science ,Optimal binary search tree ,Self-balancing binary search tree ,Software ,Random binary tree ,Order statistic tree ,Treap ,Threaded binary tree - Abstract
One of the main problems in peer-to-peer systems is how to balance the lookup latency, the number of transmitted messages and the network expansibility. In this paper, we present a P2P model based on a rigorous binary tree code algorithm. Our model is robust and efficient with constant lookup latency and constant message transmission. More importantly, the model has good expansibility and is suitable for super-scale networks.
- Published
- 2007
- Full Text
- View/download PDF
37. Smoothed analysis of binary search trees
- Author
-
Rüdiger Reischuk, Bodo Manthey, and Discrete Mathematics and Mathematical Programming
- Subjects
General Computer Science ,Optimal binary search tree ,Weight-balanced tree ,Binary search trees ,EWI-21276 ,Permutations ,IR-79427 ,Random binary tree ,Treap ,Theoretical Computer Science ,Combinatorics ,Discrete perturbations ,Geometry of binary search trees ,Binary search tree ,Ternary search tree ,Self-balancing binary search tree ,Smoothed Analysis ,Mathematics ,Computer Science(all) - Abstract
Binary search trees are one of the most fundamental data structures. While the height of such a tree may be linear in the worst case, the average height with respect to the uniform distribution is only logarithmic. The exact value is one of the best studied problems in average-case complexity.We investigate what happens in between by analysing the smoothed height of binary search trees: Randomly perturb a given (adversarial) sequence and then take the expected height of the binary search tree generated by the resulting sequence. As perturbation models, we consider partial permutations, partial alterations, and partial deletions.On the one hand, we prove tight lower and upper bounds of roughly Θ((1−p)⋅n/p) for the expected height of binary search trees under partial permutations and partial alterations, where n is the number of elements and p is the smoothing parameter. This means that worst-case instances are rare and disappear under slight perturbations. On the other hand, we examine how much a perturbation can increase the height of a binary search tree, i.e. how much worse well balanced instances can become.
- Published
- 2007
38. Reductions in binary search trees
- Author
-
María-Inés Fernández-Camacho and José-Ramón Sánchez-Couso
- Subjects
Singularity analysis ,Binary tree ,General Computer Science ,Analytic convergence ,Optimal binary search tree ,Weight-balanced tree ,Interval tree ,Random binary tree ,Theoretical Computer Science ,Combinatorics ,Differential equation ,Binary search tree ,Bottom-up algorithm ,Ternary search tree ,Complex asymptotics ,Self-balancing binary search tree ,Mathematics ,Generating function ,Computer Science(all) - Abstract
We analyze two bottom-up reduction algorithms over binary trees that represent replaceable data within a certain system, assuming the binary search tree (BST) probabilistic model. These reductions are based on idempotent and nilpotent operators, respectively. In both cases, the average size of the reduced tree, as well as the cost to obtain it, is asymptotically linear with respect to the size of the original tree. Additionally, the limiting distributions of the size of the trees obtained by means of these reductions satisfy a central limit law of Gaussian type.
- Published
- 2006
- Full Text
- View/download PDF
39. Experiments with balanced-sample binary trees
- Author
-
Peter D. Smith, G. Michael Barnes, Jeff Wiegley, and John Noga
- Subjects
Red–black tree ,Theoretical computer science ,Binary tree ,Computer science ,Optimal binary search tree ,Weight-balanced tree ,T-tree ,Scapegoat tree ,Interval tree ,Random binary tree ,Cartesian tree ,Threaded binary tree ,Treap ,k-d tree ,Tree traversal ,Geometry of binary search trees ,Binary search tree ,Ternary search tree ,General Materials Science ,Binary expression tree ,Metric tree ,Self-balancing binary search tree ,Algorithm ,Order statistic tree - Abstract
In this paper we propose using experiments with Balanced-Sample Binary Trees (BSBTrees) as assignments and lecture material in intermediate data structures courses (CS2/3). BSBTrees are composite data structures that have a temporarily constructed form that precedes their normal construction. We present them in the context of binary search trees. To do this we first investigate the retrieval properties of randomly generated binary search trees and show how temporary construction can improve both worst case and average case behavior. We provide a brief analysis of BSBTree performance and description of the classes that can be used for BSBTree implementation. Last we discuss the use of BSBTrees in CS2 and CS3 courses and a survey of student opinions about BSBTrees.
- Published
- 2005
- Full Text
- View/download PDF
40. Random suffix search trees
- Author
-
Ralph Neininger and Luc Devroye
- Subjects
Discrete mathematics ,K-ary tree ,Applied Mathematics ,General Mathematics ,Suffix tree ,Optimal binary search tree ,Exponential tree ,Computer Graphics and Computer-Aided Design ,Cartesian tree ,Random binary tree ,law.invention ,Treap ,Combinatorics ,law ,Self-balancing binary search tree ,Software ,Mathematics - Abstract
A random suffix search tree is a binary search tree constructed for the suffixes Xi = 0. BiBi+1Bi+2 ... of a sequence B1, B2, B3 .... of independent identically distributed random b-ary digits Bj. Let Dn denote the depth of the node for Xn in this tree when B1 is uniform on Zb. We show that for any value of b > 1, EDn = 2 log n + O(log2log n), just as for the random binary search tree. We also show that Dn/EDn → 1 in probability.
- Published
- 2003
- Full Text
- View/download PDF
41. Supernode Binary Search Trees
- Author
-
Haejae Jung and Sartaj Sahni
- Subjects
Theoretical computer science ,AVL tree ,Binary search tree ,Optimal binary search tree ,Ternary search tree ,Computer Science (miscellaneous) ,Scapegoat tree ,Algorithm ,Self-balancing binary search tree ,Random binary tree ,Supernode ,Mathematics - Abstract
Balanced binary search tree structures such as AVL, red-black, and splay trees store exactly one element per node. We propose supernode versions of these structures in which each node may have a large number of elements. Some properties of supernode binary search tree structures are established. Experiments oonducted by us show that the supernode structures proposed by us use less space than do the corresponding one-element-per-node versions and also take less time for the standard dictionary operations: search, insert and delete.
- Published
- 2003
- Full Text
- View/download PDF
42. Fisher-ratio-separability boosted binary tree of posterior probability SVMs with application to action recognition
- Author
-
Dongli Wang, Tingrui Pei, Yanhua Wei, and Yan Zhou
- Subjects
Support vector machine ,Binary tree ,business.industry ,Posterior probability ,Pattern recognition ,Artificial intelligence ,Interval tree ,business ,Measure (mathematics) ,Self-balancing binary search tree ,Random binary tree ,Mathematics ,Treap - Abstract
Based on fisher ratio class separability measure, we propose two types of posterior probability support vector machines (PPSVMs) using binary tree structure. The first one is a some-against-rest binary tree of PPSVM classifiers (SBT), for which some classes as a cluster are divided from the rest classes at each non-leaf node. To determine the two clusters, we use the Fisher ratio separability measure. Accordingly, the second proposed method termed one-against-rest binary tree of PPSVMs (OBT), we separate only one class with the largest separability measure from the rest classes at each non-leaf node. Then, the procedures of both SBT and OBT are provided. Finally, we consider the problem of human action recognition based on depth maps adopting both proposed approaches. Simulation results indicate both methods gain higher classifying accuracy than those of canonical multi-class SVMs and PPSVMs. Besides, the decision complexity of the proposed SBT and OBT are reduced because they use the posterior probability and the Fisher ratio separability measure.
- Published
- 2015
- Full Text
- View/download PDF
43. Thresholds and optimal binary comparison search trees
- Author
-
Sampath Kannan, Richard J. Anderson, Howard Karloff, and Richard E. Ladner
- Subjects
Computational Mathematics ,Control and Optimization ,AVL tree ,K-ary tree ,Computational Theory and Mathematics ,Binary search tree ,Optimal binary search tree ,Interval tree ,Self-balancing binary search tree ,Algorithm ,Random binary tree ,Mathematics ,Range tree - Abstract
We present an O(n4)-time algorithm for the following problem: Given a set of items with known access frequencies, find the optimal binary search tree under the realistic assumption that each comparison can only result in a two-way decision: either an equality comparison or a less-than comparisons. This improves the best known result of O(n5) time, which is based on split tree algorithms. Our algorithm relies on establishing thresholds on the frequency of an item that can occur as an equality comparison at the root of an optimal tree.
- Published
- 2002
- Full Text
- View/download PDF
44. A Comparison of Random Binary Tree Generators
- Author
-
Jarmo Siltaneva and Erkki Mäkinen
- Subjects
Discrete mathematics ,Combinatorics ,K-ary tree ,Binary tree ,General Computer Science ,Computer science ,Optimal binary search tree ,Interval tree ,Self-balancing binary search tree ,Random binary tree ,Threaded binary tree ,Treap - Published
- 2002
- Full Text
- View/download PDF
45. A Performance Comparison of Tree Data Structures for N-Body Simulation
- Author
-
John F. Wallin, A. Antunes, G.L. Page, S.D. Milder, and Jacob Waltz
- Subjects
Fractal tree index ,Numerical Analysis ,Binary tree ,Theoretical computer science ,Physics and Astronomy (miscellaneous) ,Applied Mathematics ,Optimal binary search tree ,Interval tree ,Random binary tree ,Computer Science Applications ,Computational Mathematics ,Tree traversal ,Modeling and Simulation ,Self-balancing binary search tree ,Algorithm ,Order statistic tree ,Mathematics - Abstract
We present a performance comparison of tree data structures for N-body simulation. The tree data structures examined are the balanced binary tree and the Barnes?Hut (BH) tree. Previous work has compared the performance of BH trees with that of nearest-neighbor trees and the fast multipole method, but the relative merits of BH and binary trees have not been compared systematically. In carrying out this work, a very general computational tool which permits controlled comparison of different tree algorithms was developed. The test problems of interest involve both long-range physics (e.g., gravity) and short-range physics (e.g., smoothed particle hydrodynamics). Our findings show that the Barnes?Hut tree outperforms the binary tree in both cases. However, we present a modified binary tree which is competitive with the Barnes?Hut tree for long-range physics and superior for short-range physics. Thus, if the local search time is a significant portion of the computational effort, a binary tree could offer performance advantages. This result is of particular interest since short-range searches are common in many areas of computational physics, as well as areas outside the scope of N-body simulation such as computational geometry. The possible reasons for this are outlined and suggestions for future algorithm evaluations are given.
- Published
- 2002
- Full Text
- View/download PDF
46. Integer Partitions and Binary Trees
- Author
-
Frank L. Schmidt
- Subjects
Discrete mathematics ,binary tree ,Binary tree ,Applied Mathematics ,Ferrers diagram ,Binary pattern ,Random binary tree ,Threaded binary tree ,Combinatorics ,2-core ,Bit-length ,2-quotient ,Binary expression tree ,integer partition ,Self-balancing binary search tree ,Mathematics - Abstract
We present observations and problems connected with a weighted binary tree representation of integer partitions.
- Published
- 2002
- Full Text
- View/download PDF
47. Fast concurrent lock-free binary search trees
- Author
-
Aravind Natarajan and Neeraj Mittal
- Subjects
Red–black tree ,Fractal tree index ,Binary search algorithm ,Binary tree ,AVL tree ,Computer science ,Optimal binary search tree ,Parallel computing ,Interval tree ,Random binary tree ,Search tree ,Cartesian tree ,Threaded binary tree ,Treap ,Tree traversal ,k-d tree ,Binary search tree ,Search algorithm ,Ternary search tree ,Dichotomic search ,Self-balancing binary search tree ,Order statistic tree - Abstract
We present a new lock-free algorithm for concurrent manipulation of a binary search tree in an asynchronous shared memory system that supports search, insert and delete operations. In addition to read and write instructions, our algorithm uses (single-word) compare-and-swap (CAS) and bit-test-and-set (SETB) atomic instructions, both of which are commonly supported by many modern processors including Intel~64 and AMD64.In contrast to existing lock-free algorithms for a binary search tree, our algorithm is based on marking edges rather than nodes. As a result, when compared to other lock-free algorithms, modify (insert and delete) operations in our algorithm work on a smaller portion of the tree, thereby reducing conflicts, and execute fewer atomic instructions (one for insert and three for delete). Our experiments indicate that our lock-free algorithm significantly outperforms all other algorithms for a concurrent binary search tree in many cases, especially when contention is high, by as much as 100%.
- Published
- 2014
- Full Text
- View/download PDF
48. Self‐adjusting trees in practice for large text collections
- Author
-
Justin Zobel, Hugh E. Williams, and Steffen Heinz
- Subjects
Red–black tree ,Tree rotation ,K-ary tree ,Theoretical computer science ,Binary tree ,Computer science ,Optimal binary search tree ,Weight-balanced tree ,Scapegoat tree ,Splay tree ,Interval tree ,Search tree ,Random binary tree ,Range tree ,Threaded binary tree ,k-d tree ,Tree traversal ,Binary search tree ,Geometry of binary search trees ,Ternary search tree ,Metric tree ,Periodic graph (geometry) ,Algorithm ,Self-balancing binary search tree ,Software - Abstract
Splay and randomized search trees (RSTs) are self-balancing binary tree structures with little or no space overhead compared to a standard binary search tree (BST). Both trees are intended for use in applications where node accesses are skewed, for example in gathering the distinct words in a large text collection for index construction. We investigate the efficiency of these trees for such vocabulary accumulation. Surprisingly, unmodified splaying and RSTs are on average around 25% slower than using a standard binary tree. We investigate heuristics to limit splay tree reorganization costs and show their effectiveness in practice. In particular, a periodic rotation scheme improves the speed of splaying by 27%, while other proposed heuristics are less effective. We also report the performance of efficient bit-wise hashing and red–blacktrees for comparison. Copyright © 2001 John Wiley & Sons, Ltd.
- Published
- 2001
- Full Text
- View/download PDF
49. The estimated cost of a search tree on binary words
- Author
-
A.A. Fedotov and B. Ryabko
- Subjects
Discrete mathematics ,AVL tree ,Binary tree ,K-ary tree ,Optimal binary search tree ,Library and Information Sciences ,Interval tree ,Random binary tree ,Computer Science Applications ,Treap ,Combinatorics ,Self-balancing binary search tree ,Information Systems ,Mathematics - Abstract
The problem of constructing a binary search tree for a set of binary words has wide applications in computer science, biology, mineralogy, etc. Shannon considered a similar statement in his optimal coding theorem. It is NP-complete to construct a tree of minimum cost; therefore, the problem arises of finding simple algorithms for constructing nearly optimal trees. We show that there is a simple algorithm for constructing search trees sufficiently close to the optimal tree on average. By means of this algorithm we prove that for the optimal tree the average number of bits to be checked is near to its natural lower bound, i.e., the binary logarithm of the number of given words: their difference is less than 1.04.
- Published
- 2001
- Full Text
- View/download PDF
50. A novel coding method for genetic algorithms based on redundant binary numbers
- Author
-
Akira Murayama and Akinori Kanasugi
- Subjects
Gray code ,Artificial Intelligence ,Bit-length ,Binary number ,Binary expression tree ,Arithmetic ,Binary pattern ,Self-balancing binary search tree ,Uniform binary search ,Algorithm ,General Biochemistry, Genetics and Molecular Biology ,Random binary tree ,Mathematics - Abstract
This article proposes a novel genetic algorithm (GA) which switches the expression of the solution from a redundant binary number to a usual binary number. Furthermore, a GA which switches the expression from the Gray code to the usual binary number is proposed and compared. Comparisons of the performances among five GAs (binary number, redundant binary number, Gray code, switching from redundant binary number to binary number, switching from Gray code to binary number) are illustrated. The performances are evaluated by solving some equations. It is confirmed that the proposed GA effectively decreases the error rate.
- Published
- 2010
- Full Text
- View/download PDF
Catalog
Discovery Service for Jio Institute Digital Library
For full access to our library's resources, please sign in.