Global Information Lookup Global Information

Level ancestor problem information


In graph theory and theoretical computer science, the level ancestor problem is the problem of preprocessing a given rooted tree T into a data structure that can determine the ancestor of a given node at a given distance from the root of the tree.

More precisely, let T be a rooted tree with n nodes, and let v be an arbitrary node of T. The level ancestor query LA(v,d) requests the ancestor of node v at depth d, where the depth of a node v in a tree is the number of edges on the shortest path from the root of the tree to node v. It is possible to solve this problem in constant time per query, after a preprocessing algorithm that takes O(n) and that builds a data structure that uses O(n) storage space.[1][2]

  1. ^ Bender, Michael A.; Farach-Colton, Martin (2004). "The Level Ancestor Problem Simplified". Theor. Comput. Sci. 321: 5–12. doi:10.1016/j.tcs.2003.05.002.
  2. ^ Berkman, Omer; Vishkin, Uzi (Apr 1994). "Finding level-ancestors in trees". J. Comput. Syst. Sci. 2. 48 (2): 214–230. doi:10.1016/S0022-0000(05)80002-9.

and 26 Related for: Level ancestor problem information

Request time (Page generated in 0.9779 seconds.)

Level ancestor problem

Last Update:

science, the level ancestor problem is the problem of preprocessing a given rooted tree T into a data structure that can determine the ancestor of a given...

Word Count : 1587

Lowest common ancestor

Last Update:

The LCA problem also finds applications in models of complex systems found in distributed computing (Bender et al. 2005). Level ancestor problem Semilattice...

Word Count : 2991

Eukaryogenesis

Last Update:

bacteria came together to create the first eukaryotic common ancestor (FECA). This cell had a new level of complexity and capability, with a nucleus, at least...

Word Count : 1955

Range minimum query

Last Update:

in computer science, such as the lowest common ancestor problem and the longest common prefix problem (LCP). Given an array A[1 … n] of n objects taken...

Word Count : 1588

Wild ancestor

Last Update:

may cause health problems, which may cause wild ancestors to have longer natural lifespans. Behavioral differences in wild ancestors were caused by differences...

Word Count : 2407

Simulation hypothesis

Last Update:

"The fraction of human-level civilizations that reach a posthuman stage (that is, one capable of running high-fidelity ancestor simulations) is very close...

Word Count : 6813

Multiple inheritance

Last Update:

Verbaeten (2004). "A Generalization and Solution to the Common Ancestor Dilemma Problem in Delegation-Based Object Systems" (PDF). Proceedings of the 2004...

Word Count : 2457

Nested set model

Last Update:

Intervals, that "are immune to hierarchy reorganization problem, and allow answering ancestor path hierarchical queries algorithmically — without accessing...

Word Count : 1547

Cyprus problem

Last Update:

The Cyprus problem, also known as the Cyprus conflict, Cyprus issue, Cyprus dispute, or Cyprus question, is an ongoing dispute between the Greek Cypriot...

Word Count : 16980

List of unsolved problems in biology

Last Update:

in eukaryotes? Last universal common ancestor. What were the characteristics of the Last Universal Common Ancestor of Archaea, Bacteria, and Eukaryotes...

Word Count : 3052

The Problem of Pain

Last Update:

The Problem of Pain is a 1940 book on the problem of evil by C. S. Lewis, in which Lewis argues that human pain, animal pain, and hell are not sufficient...

Word Count : 4616

Polyphyly

Last Update:

mixed evolutionary origin but does not include their most recent common ancestor. The term is often applied to groups that share similar features known...

Word Count : 1112

Mitochondrial Eve

Last Update:

Mitochondrial-Most Recent Common Ancestor, shortened to mt-Eve or mt-MRCA) is the matrilineal most recent common ancestor (MRCA) of all living humans. In...

Word Count : 6485

CSS

Last Update:

demonstrate specificity Inheritance is a key feature in CSS; it relies on the ancestor-descendant relationship to operate. Inheritance is the mechanism by which...

Word Count : 7855

Tree traversal

Last Update:

will). By contrast, a breadth-first (level-order) traversal will traverse a binary tree of infinite depth without problem, and indeed will traverse any tree...

Word Count : 2834

Cladistics

Last Update:

and a new level on that branch. Specifically, also extinct groups are always put on a side-branch, not distinguishing whether an actual ancestor of other...

Word Count : 5583

Arthropod

Last Update:

pre-arthropod ancestors; for example, all spiders extend their legs hydraulically and can generate pressures up to eight times their resting level. The exoskeleton...

Word Count : 12362

Hierarchy

Last Update:

(level or rank). Always a peer. Superior: a higher level or an object ranked at a higher level (A parent or an ancestor) Subordinate: a lower level or...

Word Count : 5951

Paraphyly

Last Update:

term describing a grouping that consists of the grouping's last common ancestor and some but not all of its descendant lineages. The grouping is said to...

Word Count : 3836

Vampire Hunter D

Last Update:

genetically engineered by the ruler and first of vampires called Sacred Ancestor using his own DNA and that of humans in an experiment to create a vampire...

Word Count : 4025

Problem of two emperors

Last Update:

The problem of two emperors or two-emperor problem (deriving from the German term Zweikaiserproblem, Greek: πρόβλημα δύο αυτοκρατόρων) is the historiographical...

Word Count : 11885

Protist

Last Update:

several independent clades that evolved from the last eukaryotic common ancestor. Protists were historically regarded as a separate taxonomic kingdom known...

Word Count : 9774

Directed acyclic graph

Last Update:

evaluation per cell. Similar problems of task ordering arise in makefiles for program compilation and instruction scheduling for low-level computer program optimization...

Word Count : 5628

Consanguinity

Last Update:

characteristic of having a kinship with a relative who is descended from a common ancestor. Many jurisdictions have laws prohibiting people who are related by blood...

Word Count : 3322

Species

Last Update:

morphologically distinct form to be considered a different species from its ancestors. Viruses have enormous populations, are doubtfully living since they consist...

Word Count : 10489

Logic programming

Last Update:

father_child(X, Y). ancestor_descendant(X, Y) :- parent_child(X, X). ancestor_descendant(X, Y) :- ancestor_descendant(X, Z), ancestor_descendant(Z, Y)....

Word Count : 10723

PDF Search Engine © AllGlobal.net