Global Information Lookup Global Information

Splay tree information


Splay tree
TypeTree
Invented1985
Invented byDaniel Dominic Sleator and Robert Endre Tarjan
Complexities in big O notation
Space complexity
Space O(n)
Time complexity
Function Amortized Worst Case
Search O(log n)[1]: 659  O(n)[2]: 1 
Insert O(log n)[1]: 659  O(n)
Delete O(log n)[1]: 659  O(n)

A splay tree is a binary search tree with the additional property that recently accessed elements are quick to access again. Like self-balancing binary search trees, a splay tree performs basic operations such as insertion, look-up and removal in O(log n) amortized time. For random access patterns drawn from a non-uniform random distribution, their amortized time can be faster than logarithmic, proportional to the entropy of the access pattern. For many patterns of non-random operations, also, splay trees can take better than logarithmic time, without requiring advance knowledge of the pattern. According to the unproven dynamic optimality conjecture, their performance on all access patterns is within a constant factor of the best possible performance that could be achieved by any other self-adjusting binary search tree, even one selected to fit that pattern. The splay tree was invented by Daniel Sleator and Robert Tarjan in 1985.[1]

All normal operations on a binary search tree are combined with one basic operation, called splaying. Splaying the tree for a certain element rearranges the tree so that the element is placed at the root of the tree. One way to do this with the basic search operation is to first perform a standard binary tree search for the element in question, and then use tree rotations in a specific fashion to bring the element to the top. Alternatively, a top-down algorithm can combine the search and the tree reorganization into a single phase.

  1. ^ a b c d Sleator & Tarjan 1985.
  2. ^ Cite error: The named reference BrinkmannDegraerDeLoof was invoked but never defined (see the help page).

and 23 Related for: Splay tree information

Request time (Page generated in 0.9726 seconds.)

Splay tree

Last Update:

A splay tree is a binary search tree with the additional property that recently accessed elements are quick to access again. Like self-balancing binary...

Word Count : 4628

Splay

Last Update:

wall Splay (plastics), off-colored streaking that occurs in injection molded plastics Splay tree, a type of search tree Splay fault, geology Splay leg...

Word Count : 146

Optimal binary search tree

Last Update:

sequence in order. The splay tree is conjectured to have a constant competitive ratio compared to the dynamically optimal tree in all cases, though this...

Word Count : 2965

Binary search tree

Last Update:

search trees, including T-tree, treap, red-black tree, B-tree, 2–3 tree, and Splay tree. Binary search trees are used in sorting algorithms such as tree sort...

Word Count : 3098

Binary tree

Last Update:

search tree Splay tree Strahler number Tree of primitive Pythagorean triples#Alternative methods of generating the tree Unrooted binary tree Rowan Garnier;...

Word Count : 5125

AVL tree

Last Update:

mean ≈0.910. WAVL tree Weight-balanced tree Splay tree Scapegoat tree B-tree T-tree List of data structures Eric Alexander. "AVL Trees". Archived from the...

Word Count : 4322

Tree rotation

Last Update:

rotation at X. Tree rotations are used in a number of tree data structures such as AVL trees, red–black trees, WAVL trees, splay trees, and treaps. They...

Word Count : 1443

Daniel Sleator

Last Update:

won the ACM Paris Kanellakis Award (jointly with Robert Tarjan) for the splay tree data structure. He was one of the pioneers in amortized analysis of algorithms...

Word Count : 433

List of data structures

Last Update:

tree Red–black tree Rope Scapegoat tree Self-balancing binary search tree Splay tree T-tree Tango tree Threaded binary tree Top tree Treap WAVL tree Weight-balanced...

Word Count : 911

Scapegoat tree

Last Update:

then driven away. Splay tree Trees Tree rotation AVL tree B-tree T-tree Galperin, Igal; Rivest, Ronald L. (1993). Scapegoat trees (PDF). Proceedings...

Word Count : 1886

Tree sort

Last Update:

to quicksort and heapsort[citation needed]. When using a splay tree as the binary search tree, the resulting algorithm (called splaysort) has the additional...

Word Count : 636

Splaysort

Last Update:

sorting algorithm based on the splay tree data structure. The steps of the algorithm are: Initialize an empty splay tree For each data item in the input...

Word Count : 689

Robert Tarjan

Last Update:

his strongly connected components algorithm, and co-inventor of both splay trees and Fibonacci heaps. Tarjan is currently the James S. McDonnell Distinguished...

Word Count : 1467

List of graph theory topics

Last Update:

Abstract syntax tree B-tree Binary tree Binary search tree Self-balancing binary search tree AVL tree Red–black tree Splay tree T-tree Binary space partitioning...

Word Count : 664

Finger search tree

Last Update:

with a finger tree nor a splay tree, although both can be used to implement finger search trees. Guibas et al. introduced finger search trees, by building...

Word Count : 499

C standard library

Last Update:

Some of the extensions of BSD libc are: sys/tree.h – contains an implementation of red–black tree and splay tree sys/queue.h – implementations of Linked list...

Word Count : 2875

List of unsolved problems in computer science

Last Update:

The dynamic optimality conjecture: do splay trees have a bounded competitive ratio? Can a depth-first search tree be constructed in NC? Can the fast Fourier...

Word Count : 694

List of computer scientists

Last Update:

Sitaraman – helped build Akamai's high performance network Daniel Sleator – splay tree, amortized analysis Aaron Sloman – artificial intelligence and cognitive...

Word Count : 5134

Geometry of binary search trees

Last Update:

set. Any particular algorithm for maintaining binary search trees (such as the splay tree algorithm or Iacono's working set structure) has a cost for...

Word Count : 1621

Tango tree

Last Update:

log ⁡ n ) {\displaystyle (k+1)O(\log \log n)} . Splay tree Optimal binary search tree Red–black tree Tree (data structure) Demaine, E. D.; Harmon, D.; Iacono...

Word Count : 1434

Potential method

Last Update:

amortized time. It may also be used to analyze splay trees, a self-adjusting form of binary search tree with logarithmic amortized time per operation....

Word Count : 1799

List of terms relating to algorithms and data structures

Last Update:

space-constructible function spanning tree sparse graph sparse matrix sparsification sparsity spatial access method spectral test splay tree SPMD square matrix square...

Word Count : 3134

List of Carnegie Mellon University people

Last Update:

professor of computer science known for inventing data structures such as the splay tree Alfred Spector (Professor), Vice President of Research and Special Initiatives...

Word Count : 8330

PDF Search Engine © AllGlobal.net